summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-10-05 06:30:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-10-05 06:30:42 +0000
commitef52ffdf61f7ed1042d8dae2f7c98385b6f7f990 (patch)
treea3f924924f2ecfb32a593b11368d276c0447e518 /array.c
parent809a9c5b6d1454e623e929afdf5a878bdb4023dc (diff)
* marshal.c (w_unique): should not dump anonymous class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 9b81bd5..7402bff 100644
--- a/array.c
+++ b/array.c
@@ -76,7 +76,7 @@ rb_ary_s_alloc(klass)
VALUE klass;
{
NEWOBJ(ary, struct RArray);
- OBJSETUP(ary, rb_cArray, T_ARRAY);
+ OBJSETUP(ary, klass, T_ARRAY);
ary->len = 0;
ary->capa = 0;