diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-05 02:27:29 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-05 02:27:29 +0000 |
commit | a823fc5d8bb87d978b3027b5efe3c76e08e9e4ae (patch) | |
tree | b0702f4e904be214d914e51ad4a763a5ba3bf13b /vm_insnhelper.c | |
parent | 3e8e963837c27554d393dcde695c7fc2a43d79e9 (diff) |
* compile.c (compile_cpath): use Qundef to denote cbase lookup.
* insns.def (defineclass): Qudef is passed for cbase.
* insns.def (setconstant): ditto.
* vm_insnhelper.c (vm_check_if_namespace): use rb_inspect()
instead of rb_obj_as_string() for better description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index c411cf287a..ddd060e18b 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -985,7 +985,7 @@ vm_check_if_namespace(VALUE klass) break; default: rb_raise(rb_eTypeError, "%s is not a class/module", - RSTRING_PTR(rb_obj_as_string(klass))); + RSTRING_PTR(rb_inspect(klass))); } } |