summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-12-13 17:30:34 +0900
committerKOBAYASHI Shuji <[email protected]>2019-12-13 17:30:34 +0900
commite18aa4d8939e11139f9508e7cad3939858e0a1c5 (patch)
treeca86e0a97b94defa34c2b8337814678591d14567 /src/error.c
parent9c4c82ed1c6cf21d420dc62185fc42552ad2e924 (diff)
downloadmruby-e18aa4d8939e11139f9508e7cad3939858e0a1c5.tar.gz
mruby-e18aa4d8939e11139f9508e7cad3939858e0a1c5.zip
Fix arguments check to `Array#each`
#### Before this patch: ``` $ mruby -e '[].each(1){}' #=> no error ``` #### After this patch: ``` $ mruby -e '[].each(1){}' #=> ArgumentError: wrong number of arguments ```
Diffstat (limited to 'src/error.c')
0 files changed, 0 insertions, 0 deletions