diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-04 13:50:32 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-09-04 13:50:32 +0900 |
| commit | 2d8f4fa92fe14d5ec012533ade65eb013a8fc73a (patch) | |
| tree | 72e30acc595de883b833a4a43868ebcfd8d363a7 /src/pool.c | |
| parent | 5acf7e7cf7e834d236df9450c2da8c15497749e8 (diff) | |
| download | mruby-2d8f4fa92fe14d5ec012533ade65eb013a8fc73a.tar.gz mruby-2d8f4fa92fe14d5ec012533ade65eb013a8fc73a.zip | |
proc.c: need to preserve `target_class` in `callinfo`.
Otherwise `target_class` can be lost when it differs from `proc`'s
`target_class`, e.g. when called from `instance_eval`.
Also we should not pass `target_class` to `MRB_OBJ_ALLOC` since it
checks instance type from the class, and `target_class` may not have
proper information. ref #5272
Diffstat (limited to 'src/pool.c')
0 files changed, 0 insertions, 0 deletions
