File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Sources/Frontend/Commands Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
##### Breaking
4
4
5
- - None .
5
+ - Assign-only property analysis is disabled with Swift 6.1 due to a Swift bug: https://github.com/swiftlang/swift/issues/80394 .
6
6
7
7
##### Enhancements
8
8
Original file line number Diff line number Diff line change @@ -202,6 +202,11 @@ struct ScanCommand: FrontendCommand {
202
202
logger. debug ( swiftVersion. fullVersion)
203
203
try swiftVersion. validateVersion ( )
204
204
205
+ if swiftVersion. version. isVersion ( equalTo: " 6.1 " ) , !retainAssignOnlyProperties {
206
+ logger. warn ( " Assign-only property analysis is disabled with Swift 6.1 due to a Swift bug: https://github.com/swiftlang/swift/issues/80394. " )
207
+ configuration. retainAssignOnlyProperties = true
208
+ }
209
+
205
210
let project : Project = if configuration. guidedSetup {
206
211
try GuidedSetup ( configuration: configuration, shell: shell, logger: logger) . perform ( )
207
212
} else {
You can’t perform that action at this time.
0 commit comments