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 22
33##### Breaking
44
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 .
66
77##### Enhancements
88
Original file line number Diff line number Diff line change @@ -202,6 +202,11 @@ struct ScanCommand: FrontendCommand {
202202 logger. debug ( swiftVersion. fullVersion)
203203 try swiftVersion. validateVersion ( )
204204
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+
205210 let project : Project = if configuration. guidedSetup {
206211 try GuidedSetup ( configuration: configuration, shell: shell, logger: logger) . perform ( )
207212 } else {
You can’t perform that action at this time.
0 commit comments