summaryrefslogtreecommitdiffhomepage
path: root/src/init.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-09-04 13:50:32 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-09-04 13:50:32 +0900
commit2d8f4fa92fe14d5ec012533ade65eb013a8fc73a (patch)
tree72e30acc595de883b833a4a43868ebcfd8d363a7 /src/init.c
parent5acf7e7cf7e834d236df9450c2da8c15497749e8 (diff)
downloadmruby-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/init.c')
0 files changed, 0 insertions, 0 deletions