## Expected behavior ```ruby x do next foo && bar end ``` ## Actual behavior ```ruby x do next foo && bar # <--- W: Lint/UnreachableCode: Unreachable code detected. end ``` ## Steps to reproduce the problem ```ruby x do next ( foo && bar ) end ``` ## RuboCop version ``` $ [bundle exec] rubocop -V 1.60.0 (using Parser 3.3.0.3, rubocop-ast 1.30.0, running on ruby 3.1.2) [x86_64-darwin21] - rubocop-performance 1.20.2 - rubocop-rake 0.6.0 - rubocop-rspec 2.26.1 ```