hoistPatternLet --patternlet inline
rule changes switch case from nil
to let nil
#940
Labels
hoistPatternLet --patternlet inline
rule changes switch case from nil
to let nil
#940
We're adopting the
hoistPatternLet
rule, with--patternlet inline
, and I found a case where it causes a compile failure:Before
After running
swiftformat . --rules hoistPatternLet --patternlet inline
Expected
The text was updated successfully, but these errors were encountered: