whitequark / parser

A Ruby parser.
Other
1.59k stars 199 forks source link

ruby/ruby@428f9f5 #952

Closed iliabylich closed 11 months ago

iliabylich commented 1 year ago

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

iliabylich commented 11 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.