summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-01 08:14:03 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-01 08:14:03 +0000
commite4f26da2d96c77d815e2c3e8ce0f02a3cf46bb75 (patch)
treeddd2d3b22eb2b7a9295d29d1c67b38dfddd92d2b /class.c
parent734506e96dd2e77610c8e2f82b8a0b23d1831b17 (diff)
* range.c (range_check): need no Fixnum check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/class.c b/class.c
index 316118b..fb3ea6a 100644
--- a/class.c
+++ b/class.c
@@ -156,7 +156,7 @@ rb_make_metaclass(obj, super)
/* metaclass of a superclass may be NULL at boot time */
if (metasuper) {
- RBASIC(klass)->klass;
+ RBASIC(klass)->klass = metasuper;
}
}