diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-20 19:59:15 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-23 10:01:30 +0900 |
| commit | 7fbbd7ab9fdeb9eafe6a37fa7f16b60e41e21ad4 (patch) | |
| tree | 4fc5e07434dfdbb6218bc4674cce048ec0317da7 /src/enum.c | |
| parent | 7990bb7fa7ea9a0438aa8d06a76a60c39451b692 (diff) | |
| download | mruby-7fbbd7ab9fdeb9eafe6a37fa7f16b60e41e21ad4.tar.gz mruby-7fbbd7ab9fdeb9eafe6a37fa7f16b60e41e21ad4.zip | |
Should not overwrite `ci->target_class` in `mrb_exec_irep()`.
For example, the following code behaved wrong:
```ruby
Object.instance_exec(1,2,3){|*a|
def foo
42
end
}
p foo()
```
Diffstat (limited to 'src/enum.c')
0 files changed, 0 insertions, 0 deletions
