Skip to content

DNodes are ListNodes and get compiled wrong in presence of a splat.#7501

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:fix_splats
Nov 30, 2022
Merged

DNodes are ListNodes and get compiled wrong in presence of a splat.#7501
enebo merged 1 commit intojruby:masterfrom
enebo:fix_splats

Conversation

@enebo
Copy link
Member

@enebo enebo commented Nov 30, 2022

Fixes #7500. The check in splats assumes any instanceof ListNode is arguments to be merged with the splat but all dynamic nodes like interpolated strings happen to be ListNodes as well (damn you OO).

Fixes jruby#7500.  The check in splats assumes any instanceof ListNode
is arguments to be merged with the splat but all dynamic nodes
like interpolated strings happen to be ListNodes as well (damn you OO).
@enebo enebo added this to the JRuby 9.4.1.0 milestone Nov 30, 2022
@enebo enebo merged commit 4341891 into jruby:master Nov 30, 2022
@enebo enebo deleted the fix_splats branch March 4, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Unknown node encountered in builder" error on previously working code

1 participant