Hey Nick, thanks for SwiftFormat and your many contributions to #ioslife... We couldn't build apps without you!
There's a wee bug in sortedImports, triggered by one of our SwifterSwift files. I narrowed it down with a small test case. Something to do with the header comment, the nested canImports, and `sortedImports. If I remove the comment the bug no longer occurs.
Hey Nick, thanks for SwiftFormat and your many contributions to #ioslife... We couldn't build apps without you!
There's a wee bug in sortedImports, triggered by one of our
SwifterSwift
files. I narrowed it down with a small test case. Something to do with the header comment, the nested canImports, and `sortedImports. If I remove the comment the bug no longer occurs.before
$ swiftformat . --swiftversion 5
after