Closed chaewan-park closed 10 months ago
@chaewan-park I'm not able to reproduce this in SwiftFormat 0.52.10 with the following unit test. Perhaps there's some other surrounding context in the file needed to recreate it? Or is it possible you somehow have multiple SwiftFormat versions installed, and are running the wrong one?
EDIT: never mind, I was missing that you were using --self insert
- I can reproduce it now.
@chaewan-park fixed in 0.52.11
With this code:
Running
swiftformat
MyClass.swift fails with:And my
.swiftformat
file has this option:using 0.52.10