nicklockwood / SwiftFormat

A command-line tool and Xcode Extension for formatting Swift code
MIT License
7.62k stars 623 forks source link

redundantParens false positive #1699

Closed brzzdev closed 1 month ago

brzzdev commented 1 month ago

Related to #1698 Given let example = Example<(() -> Void)?>(nil) then redundantParens will change these to let example = Example<(() -> Void)?> which is then an error in Xcode.

nicklockwood commented 1 month ago

@brzzdev fixed in 0.53.10