diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-10-16 13:26:47 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-10-16 13:26:47 +0900 |
commit | a2fe4b75e4b236ad15778c59ace63006ace53889 (patch) | |
tree | ea38d78594489d61792d8439fcdd9855a42c0ed3 /bootstraptest/test_ractor.rb | |
parent | cfad0583eb18bb4505f28ee5cfab703a6b9987be (diff) |
merge revision(s) 217df51f0e5d9824ed712a4d175f555d932e44d8: [Backport #18232]
Dump outer variables tables when dumping an iseq to binary
This commit dumps the outer variables table when dumping an iseq to
binary. This fixes a case where Ractors aren't able to tell what outer
variables belong to a lambda after the lambda is loaded via ISeq.load_from_binary
[Bug #18232] [ruby-core:105504]
---
compile.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++-
test/ruby/test_iseq.rb | 10 +++++++++
2 files changed, 64 insertions(+), 1 deletion(-)
Diffstat (limited to 'bootstraptest/test_ractor.rb')
0 files changed, 0 insertions, 0 deletions