diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2025-02-14 12:32:52 -0500 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-02-14 17:32:58 +0000 |
| commit | deb010ae248879b1c577366f5349b6094536bf4e (patch) | |
| tree | ede020eb28373b97ed611f25fdfff54289367343 /test | |
| parent | ee181d1bb74ef82d6507c411a6aff10d1bf37aa3 (diff) | |
[ruby/prism] Fix up locals test with it parameters
https://github.com/ruby/prism/commit/599a96dbfc
Diffstat (limited to 'test')
| -rw-r--r-- | test/prism/locals_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/prism/locals_test.rb b/test/prism/locals_test.rb index c48b295a49..e0e9a45855 100644 --- a/test/prism/locals_test.rb +++ b/test/prism/locals_test.rb @@ -147,7 +147,7 @@ module Prism elsif node.parameters.is_a?(NumberedParametersNode) # nothing elsif node.parameters.is_a?(ItParametersNode) - names << AnonymousLocal + names.unshift(AnonymousLocal) else params = node.parameters&.parameters end |
