diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-07-02 19:41:40 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-07-02 19:41:40 +0900 |
| commit | 0d54dbb2644b468e255564cfdbb5c435e1e3686f (patch) | |
| tree | c07762eca978060002b6103bc1febce552de7e07 /include/mruby.h | |
| parent | 38a10e8a98bdaeab8e8bd4a34e65fcc4a3c775e2 (diff) | |
| download | mruby-0d54dbb2644b468e255564cfdbb5c435e1e3686f.tar.gz mruby-0d54dbb2644b468e255564cfdbb5c435e1e3686f.zip | |
Fix and refine error message in `mrb_obj_to_sym()`
Before this patch:
$ bin/mruby -e '1.respond_to?(2)' #=> nil is not a symbol
After this patch (same as Ruby):
$ bin/mruby -e '1.respond_to?(2)' #=> 2 is not a symbol nor a string
Diffstat (limited to 'include/mruby.h')
0 files changed, 0 insertions, 0 deletions
