Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow "Separate Keyword Arguments from Positional Arguments"
Follow ruby/ruby#2395. RuboCop's CI of Ruby 2.7 matrix is failing. This is due to a deprecation warning in Ruby 2.7. ```console 1) RuboCop::CLI when BlockDelimiters has braces_for_chaining style corrects SpaceBeforeBlockBraces, SpaceInsideBlockBraces offenses Failure/Error: expect($stderr.string).to eq('') expected: "" got: "/usr/local/bundle/gems/parser-2.6.4.0/lib/parser/source/tree_rewriter.rb:284: warning: The last argu...parser-2.6.4.0/lib/parser/source/tree_rewriter.rb:288: warning: for `trigger_policy' defined here\n" ``` https://circleci.com/gh/rubocop-hq/rubocop/67195 This PR suppress the following Ruby 2.7's warning. ```console % cd path/to/parser % bundle exec rake (snip) /Users/koic/src/github.com/whitequark/parser/lib/parser/source/tree_rewriter.rb:284: warning: The last argument for `trigger_policy' (defined at /Users/koic/src/github.com/whitequark/parser/lib/parser/source/tree_rewriter.rb:288) is used as the keyword parameter ```
- Loading branch information