-
Nobuyoshi Nakada authored
```ruby def foo(*); ->{ super }; end ``` This code makes anonymous parameters which is not registered as an ID. The problem is that when Ractors try to scan `getlocal` instructions, it puts the Symbol corresponding to the parameter in to a hash. Since it is not registered, we end up with a strange exception. This commit wraps the unregistered ID in an internal ID so that we get the same exception for `...` as `*`. Co-Authored-By:
Aaron Patterson <tenderlove@ruby-lang.org> Co-Authored-By:
John Hawthorn <john@hawthorn.email>
Nobuyoshi Nakada authored```ruby def foo(*); ->{ super }; end ``` This code makes anonymous parameters which is not registered as an ID. The problem is that when Ractors try to scan `getlocal` instructions, it puts the Symbol corresponding to the parameter in to a hash. Since it is not registered, we end up with a strange exception. This commit wraps the unregistered ID in an internal ID so that we get the same exception for `...` as `*`. Co-Authored-By:
Aaron Patterson <tenderlove@ruby-lang.org> Co-Authored-By:
John Hawthorn <john@hawthorn.email>
Loading