diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | class.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri May 23 01:03:23 2008 Akinori MUSHA <knu@iDaemons.org> + + * class.c (rb_singleton_class_clone): Pass Qnil, not 0. + Fri May 23 00:51:48 2008 Akinori MUSHA <knu@iDaemons.org> * class.c (clone_method): Totally revamp the previous fix which @@ -159,7 +159,7 @@ VALUE rb_singleton_class_clone(obj) VALUE obj; { - return singleton_class_clone_int(obj, 0); + return singleton_class_clone_int(obj, Qnil); } void |
