diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-31 04:00:17 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-31 04:00:17 +0000 |
| commit | a0cf2fde9c6b21c4249f0dbbe928a2dd79cf67b6 (patch) | |
| tree | 7098f68924d61777d091df010681e173627091a5 /prec.c | |
| parent | 35d0b982ea66f5f6a4681334ee7e7a9b4eb9fe53 (diff) | |
| download | ruby-a0cf2fde9c6b21c4249f0dbbe928a2dd79cf67b6.tar.gz ruby-a0cf2fde9c6b21c4249f0dbbe928a2dd79cf67b6.tar.xz ruby-a0cf2fde9c6b21c4249f0dbbe928a2dd79cf67b6.zip | |
* variable.c (rb_obj_classname): new function.
* string.c (rb_str_dup): should preserve original's class (but not
hidden singleton class).
* string.c (rb_str_substr): ditto.
* parse.y: backout EXPR_CMDARG removal.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'prec.c')
| -rw-r--r-- | prec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ prec_induced_from(module, x) VALUE module, x; { rb_raise(rb_eTypeError, "undefined conversion from %s into %s", - rb_class2name(CLASS_OF(x)), rb_class2name(module)); + rb_obj_classname(x), rb_class2name(module)); return Qnil; /* not reached */ } |
