diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | marshal.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Oct 6 16:23:38 2003 Nobuyoshi Nakada <[email protected]> + + * marshal.c (w_object): wrong method name in the message. + Mon Oct 6 16:02:05 2003 Yukihiro Matsumoto <[email protected]> * parse.y (stmt): END in method should cause warning. @@ -649,7 +649,7 @@ w_object(obj, arg, limit, weak) w_class(TYPE_DATA, obj, arg); if (!rb_respond_to(obj, s_dump_data)) { rb_raise(rb_eTypeError, - "class %s needs to have instance method `marshal_dump'", + "class %s needs to have instance method `_dump_data'", rb_obj_classname(obj)); } v = rb_funcall(obj, s_dump_data, 0); |