mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 02:53:57 +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,}
|
in {a: 1,}
|
||||||
false
|
false
|
||||||
in {a:,}
|
in {a:,}
|
||||||
|
_a = a
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1061,6 +1062,7 @@ END
|
||||||
false
|
false
|
||||||
in {a:
|
in {a:
|
||||||
}
|
}
|
||||||
|
_a = a
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue