Simplify expression; ref #3490

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-03-10 12:36:58 +09:00
parent e8f09f9393
commit 2f299cf4dc
+1 -1
View File
@@ -1345,7 +1345,7 @@ RETRY_TRY_BLOCK:
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");