diff options
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -931,7 +931,7 @@ defineclass if (cbase == Qundef) { cbase = vm_get_cbase(th); - if (NIL_P(klass)) { + if (NIL_P(cbase)) { rb_raise(rb_eTypeError, "no class/module to define constant"); } } |