ruby-changes:60266
From: Yusuke <ko1@a...>
Date: Mon, 2 Mar 2020 22:37:45 +0900 (JST)
Subject: [ruby-changes:60266] 65dd50fc25 (master): Suppress "assigned but unused variable" warnings
https://git.ruby-lang.org/ruby.git/commit/?id=65dd50fc25 From 65dd50fc25f6522536d5c4749055384bde1f9371 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Mon, 2 Mar 2020 22:37:04 +0900 Subject: Suppress "assigned but unused variable" warnings diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb index f9217aa..3eea523 100644 --- a/test/ruby/test_pattern_matching.rb +++ b/test/ruby/test_pattern_matching.rb @@ -1047,6 +1047,7 @@ END https://github.com/ruby/ruby/blob/trunk/test/ruby/test_pattern_matching.rb#L1047 in {a: 1,} false in {a:,} + _a = a true end end @@ -1061,6 +1062,7 @@ END https://github.com/ruby/ruby/blob/trunk/test/ruby/test_pattern_matching.rb#L1062 false in {a: } + _a = a true end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/