Closed Arthur-Guillaume closed 2 years ago
@Arthur-Guillaume can you check you're running the latest version of SwiftFormat? AFAIK this was fixed a while ago.
@nicklockwood thanks for your quick answer.
I was running an old version, update to 0.49 fixed this issue. Sorry about it.
Rule RedundantGet break code it the getter of a computed property can throw. example:
In this example, get is considered redundant whereas the code won't compile without
throws
.