You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to Swift 6 with complete concurrency checking following Migrate your app to Swift 6, I am getting multiple warnings. One on a List looks like so:
Static property 'v17' is not concurrency-safe because non-'Sendable' type 'PlatformViewVersion<iOSVersion, ListType, UICollectionView>' may have shared mutable state; this is an error in the Swift 6 language mode
Checklist
I have read the README before submitting this report.
I’ll work on this today after a brief attempt this is easily achievable by stabbing some Sendable conformances and annotating most things with main actor. There is one thing that might be tricky, the debug helper.
Description
After updating to Swift 6 with complete concurrency checking following Migrate your app to Swift 6, I am getting multiple warnings. One on a
List
looks like so:Checklist
Expected behavior
It should compile with no warnings or errors.
Actual behavior
Xcode produces warnings.
Steps to reproduce
Example code:
Version information
1.1.4
Destination operating system
iOS 18.0
Xcode version information
Version 16.0 beta (16A5171c)
Swift Compiler version information
The text was updated successfully, but these errors were encountered: