whitequark / parser

A Ruby parser.
Other
1.57k stars 197 forks source link

ruby/ruby@428f9f5 #952

Closed iliabylich closed 8 months ago

iliabylich commented 10 months ago

https://github.com/ruby/ruby/commit/428f9f5dc067f73e553f9947c587a8bdd53972be

iliabylich commented 8 months ago

This is an internal change to how stacks of pattern_variables/pattern_hash_keys are managed, we already use external stacks and pushing stack elements to Racc stack + relying on duck-typing (to emulate how MRI handles variadic stack elements) doesn't seem to be the best solution.