Permalink
Browse files

Simplify expression; ref #3490

  • Loading branch information...
matz committed Mar 10, 2017
1 parent e8f09f9 commit 2f299cf4dc930890faecbe5d54235996e37a4c8b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vm.c
View
@@ -1345,7 +1345,7 @@ mrb_vm_exec(mrb_state *mrb, struct RProc *proc, mrb_code *pc)
int a = GETARG_A(i);
int n = GETARG_C(i);
if (mid == 0 || !mrb->c->ci->target_class) {
if (mid == 0 || !ci->target_class) {
mrb_value exc;
exc = mrb_exc_new_str_lit(mrb, E_NOMETHOD_ERROR, "super called outside of method");

0 comments on commit 2f299cf

Please sign in to comment.