diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-06-13 21:24:48 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-06-13 21:24:48 +0900 |
| commit | 9bd692bc67ee302bcbc359d0841458339c440fb4 (patch) | |
| tree | b3acb175c0b27b4af256949bdbb0b2031a00dd23 /include/mruby.h | |
| parent | 1a98b94100a6331753bae17e158d053b129ad1d3 (diff) | |
| download | mruby-9bd692bc67ee302bcbc359d0841458339c440fb4.tar.gz mruby-9bd692bc67ee302bcbc359d0841458339c440fb4.zip | |
Fix class name validation in `Struct.new`
Before this patch:
$ bin/mruby -e 'p Struct.new("A-")'
#=> Struct::"A-"
After this patch:
$ bin/mruby -e 'p Struct.new("A-")'
#=> NameError: identifier A- needs to be constant
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions
