Closed keith closed 1 year ago
With this code:
typealias A = ([B], Int) struct C { static func bar() { return something .do(onSuccess: { result in if case .success((let d, _)) = result { self.relay.onNext(d) } }) } static func foo() { fatalError() } }
Running swiftformat foo.swift --rules redundantSelf fails with:
swiftformat foo.swift --rules redundantSelf
error: Unexpected static keyword on line 13 in
using 0.51.5
@keith fixed in 0.51.6
With this code:
Running
swiftformat foo.swift --rules redundantSelf
fails with:using 0.51.5