summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 06b0a4b7c..3003139da 100644
--- a/eval.c
+++ b/eval.c
@@ -2630,7 +2630,7 @@ rb_eval(self, n)
break;
case NODE_COLON3:
- result = rb_const_get(rb_cObject, node->nd_mid);
+ result = rb_const_get_at(rb_cObject, node->nd_mid);
break;
case NODE_NTH_REF: