summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 81c5c5643f..466ec75492 100644
--- a/object.c
+++ b/object.c
@@ -1884,7 +1884,7 @@ rb_class_superclass(VALUE klass)
VALUE
rb_class_get_superclass(VALUE klass)
{
- return RCLASS_EXT(klass)->super;
+ return RCLASS(klass)->super;
}
#define id_for_setter(name, type, message) \