False-positive Lint/LambdaWithoutLiteralBlock
when using itself
#10489
Labels
Lint/LambdaWithoutLiteralBlock
when using itself
#10489
Expected behavior
Rubocop shouldn't complain.
Actual behavior
Rubocop complains with
Lint/LambdaWithoutLiteralBlock
.Steps to reproduce the problem
my_file.rb
$ bundle exec rubocop my_file.rb
my_file.rb:10:1: W: [Correctable] Lint/LambdaWithoutLiteralBlock: lambda without a literal block is deprecated; use the proc without lambda instead.
RuboCop version
The text was updated successfully, but these errors were encountered: