diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 01:01:17 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-12-20 01:25:34 +0900 |
commit | 27ddb6e99848c397a415b785315896ab50308076 (patch) | |
tree | 8312f25cd285eeefbbed149b0393b1d31c1d2b5e /test/ripper | |
parent | c6c67254fb17b3196a7b0d3fda4650f6b20a467d (diff) |
Warn also numbered parameter like parameters
[Feature #16433]
Diffstat (limited to 'test/ripper')
-rw-r--r-- | test/ripper/test_scanner_events.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb index ffe2ea1e37..cef584c157 100644 --- a/test/ripper/test_scanner_events.rb +++ b/test/ripper/test_scanner_events.rb @@ -31,7 +31,7 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase alias compile_error on_error end end - lexer.lex.select {|_1,type,_2| type == sym }.map {|_1,_2,tok| tok } + lexer.lex.select {|_,type,_| type == sym }.map {|_,_,tok| tok } end def test_tokenize |