Swiftformat: Regression since 0.47.2

Created on 5 Nov 2020  路  4Comments  路  Source: nicklockwood/SwiftFormat

We've seen weird formatting like this after upgrading to 0.47.2
screen_shot_2020-11-05_at_15 20 02

Might be related to the changes made here? https://github.com/nicklockwood/SwiftFormat/issues/786

bug fixed in develop

All 4 comments

@JohnEstropia thanks for reporting this, I'll get it fixed

@JohnEstropia fixed in 0.47.3

@nicklockwood Thanks for the update!
Unfortunately, it looks like guard cases were fixed but missed some edge cases in switch-case:
Screen Shot 2020-11-10 at 14 47 40

@JohnEstropia fixed in 0.47.4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zizi4n5 picture zizi4n5  路  3Comments

DagAgren picture DagAgren  路  4Comments

PompeiaPaetenari picture PompeiaPaetenari  路  3Comments

sebastianfrelle picture sebastianfrelle  路  4Comments

meherkasam picture meherkasam  路  3Comments