Closed fischman-bcny closed 1 year ago
Looks a lot like #1386 but still happens in 0.51.11:
/tmp $ cat x.swift func f() { let str = "hello" try! str.withCString(encodedAs: UTF8.self) { _ throws in try! str.withCString(encodedAs: UTF8.self) { _ throws in } } } /tmp $ swiftformat --swiftversion 5.7 x.swift Running SwiftFormat... error: Expected for keyword on line 4 in /tmp/x.swift. /tmp $ swiftformat --version 0.51.11
(no .swiftformat file in the mix)
.swiftformat
@fischman-bcny fixed in 0.51.12
Looks a lot like #1386 but still happens in 0.51.11:
(no
.swiftformat
file in the mix)