summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 6336489861..a06a0a915f 100644
--- a/iseq.c
+++ b/iseq.c
@@ -956,7 +956,7 @@ rb_iseq_klass(VALUE self)
{
rb_iseq_t *iseq;
GetISeqPtr(self, iseq);
- return iseq->klass;
+ return iseq->local_iseq->klass;
}
static