summaryrefslogtreecommitdiffstats
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
commit8427ecf7a43cec7aff53b1c52ad83a255ed86b66 (patch)
treea3f924924f2ecfb32a593b11368d276c0447e518 /array.c
parent546e9319116bce06a521036a98c153f73cac6bb2 (diff)
downloadruby-8427ecf7a43cec7aff53b1c52ad83a255ed86b66.tar.gz
ruby-8427ecf7a43cec7aff53b1c52ad83a255ed86b66.tar.xz
ruby-8427ecf7a43cec7aff53b1c52ad83a255ed86b66.zip
* marshal.c (w_unique): should not dump anonymous class.
git-svn-id: http://svn.ruby-lang.org/repos/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 9b81bd58c..7402bff78 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;