Revert "[Bug #21256] Fix it
parameter when splatting and define_method
is used"
#13947
+0
−24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverts #13108
That change caused the following ASAN error:
https://ci.rvm.jp/results/trunk_asan@ruby-sp1/5837210
PM_IT_PARAMETERS_NODE is already handled here:
ruby/prism_compile.c
Lines 6421 to 6424 in 81515ac
That change adds another handling code for PM_IT_PARAMETERS_NODE, which results in adding two local variable entries.
ruby/prism_compile.c
Lines 6780 to 6789 in 81515ac
I tried to revert the first, old handling code, but it caused the following errors:
Looks like the proper fix is not trivial, so I revert that change for now.