summaryrefslogtreecommitdiffhomepage
path: root/src/class.c
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-07-02 19:41:40 +0900
committerKOBAYASHI Shuji <[email protected]>2019-07-02 19:41:40 +0900
commit0d54dbb2644b468e255564cfdbb5c435e1e3686f (patch)
treec07762eca978060002b6103bc1febce552de7e07 /src/class.c
parent38a10e8a98bdaeab8e8bd4a34e65fcc4a3c775e2 (diff)
downloadmruby-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 'src/class.c')
0 files changed, 0 insertions, 0 deletions