mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
Suppress "assigned but unused variable" warnings
(cherry picked from commit 65dd50fc25
)
This commit is contained in:
parent
004c298738
commit
aeda3a7f03
1 changed files with 2 additions and 0 deletions
|
@ -1047,6 +1047,7 @@ END
|
|||
in {a: 1,}
|
||||
false
|
||||
in {a:,}
|
||||
_a = a
|
||||
true
|
||||
end
|
||||
end
|
||||
|
@ -1061,6 +1062,7 @@ END
|
|||
false
|
||||
in {a:
|
||||
}
|
||||
_a = a
|
||||
true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue