Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…SafeNavigation` (#7006) Fixes #6738 Solves problem like below: ```ruby until x if foo foo.some_method do y end end end ``` auto-corrects badly; ```ruby # frozen_string_literal: true until x next unless foofoo&.some_method do y end end ```
- Loading branch information
1 parent
dea47fb
commit 36673f0
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters