diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-12-13 17:30:34 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-12-13 17:30:34 +0900 |
| commit | e18aa4d8939e11139f9508e7cad3939858e0a1c5 (patch) | |
| tree | ca86e0a97b94defa34c2b8337814678591d14567 /include/mruby.h | |
| parent | 9c4c82ed1c6cf21d420dc62185fc42552ad2e924 (diff) | |
| download | mruby-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 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions
