Actions
Bug #22527
openImplicit super with a reassigned keyword rest writes into the shared frozen empty hash
Bug #22527:
Implicit super with a reassigned keyword rest writes into the shared frozen empty hash
Description
zsuper passes rest.dup as the left operand of the keyword merge. If the method reassigns its keyword-rest local, that value can be anything. Both compilers reach this through merge_bang_ptr, where dup is false, so it inserts into the shared frozen hash.
Under 4.0 this was a TypeError, now it is an assertion failure in ar_force_convert_table.
Updated by byroot (Jean Boussier) about 18 hours ago
- Assignee set to byroot (Jean Boussier)
That's likely my bad, I'll have a look.
Actions