diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-03-10 12:36:58 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-03-10 12:36:58 +0900 |
| commit | 2f299cf4dc930890faecbe5d54235996e37a4c8b (patch) | |
| tree | 68fc3b38f9b16157bb3623be27874855e7fe95a9 /src | |
| parent | e8f09f93930e0c99769e4e4ded2342638ac3d5e5 (diff) | |
| download | mruby-2f299cf4dc930890faecbe5d54235996e37a4c8b.tar.gz mruby-2f299cf4dc930890faecbe5d54235996e37a4c8b.zip | |
Simplify expression; ref #3490
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |
