summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 712699e108..4cc55b728a 100644
--- a/eval.c
+++ b/eval.c
@@ -5539,8 +5539,8 @@ rb_call0(klass, recv, id, oid, argc, argv, body, nosuper)
result = rb_ivar_set(recv, body->nd_vid, argv[0]);
break;
- case NODE_ZSUPER:
- result = rb_eval(recv, body);
+ case NODE_ZSUPER: /* visibility override */
+ result = rb_call_super(argc, argv);
break;
case NODE_BMETHOD: