SwiftFormat v0.40.2 Release Notes

Release Date: 2019-03-19 // about 5 years ago
    • ๐Ÿ›  Fixed a bug where the redundantParens rule incorrectly removed parens in a subscript or function invocation
    • ๐Ÿ›  Fixed a bug with the trailingClosures rule removing parens inside some conditional expressions
    • ๐Ÿ›  Fixed a bug in the yodaConditions rule that broke expressions containing subscripts
    • ๐Ÿ›  Fixed the --swiftversion option, which was being ignored under some circumstances
    • ๐Ÿ›  Fixed bug that caused the --fragment and --conflictmarkers options to be ignored
    • ๐Ÿ›  Fixed a bug in the redundantObjc rule that incorrectly stripped @objc from nested enum types