Closed MartinP7r closed 2 months ago
The base code is not pretty but valid Swift, but the formatted code is broken in this case:
--enable wrapEnumCases
input
enum SortOrder { case asc(String), desc(String) }
output
enum SortOrder { case asc(String) desccase String }
@MartinP7r fixed in 0.53.7 (the formatting is still a bit whack but it should no longer make the code uncompilable)
The base code is not pretty but valid Swift, but the formatted code is broken in this case:
--enable wrapEnumCases
input
output