Closed calda closed 11 months ago
Merging #1561 (0c24a70) into develop (0116632) will increase coverage by
0.01%
. The diff coverage is97.56%
.
@@ Coverage Diff @@
## develop #1561 +/- ##
===========================================
+ Coverage 95.01% 95.03% +0.01%
===========================================
Files 20 20
Lines 21743 21819 +76
===========================================
+ Hits 20660 20736 +76
Misses 1083 1083
Files | Coverage Δ | |
---|---|---|
Sources/FormattingHelpers.swift | 97.70% <100.00%> (+0.02%) |
:arrow_up: |
Sources/SwiftFormat.swift | 87.70% <ø> (ø) |
|
Sources/Rules.swift | 98.51% <96.00%> (-0.02%) |
:arrow_down: |
Thanks!
This PR fixes two issues where SwiftFormat would convert code to use if/switch expressions that did not compile:
as?
operators are not supported in if/switch expressions. This example does not compile in Swift 5.9: