-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last of the Swift 6 language mode warnings #185
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #185 +/- ##
==========================================
+ Coverage 78.64% 78.76% +0.12%
==========================================
Files 60 60
Lines 1405 1413 +8
==========================================
+ Hits 1105 1113 +8
Misses 300 300
|
@@ -40,5 +40,5 @@ let package = Package( | |||
] | |||
), | |||
], | |||
swiftLanguageVersions: [.v6] | |||
swiftLanguageModes: [.v6] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? what does it do to explicitly declare it? The Swift version up there is already 6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change is because it's been renamed in the latest betas.
We need to set the language mode because it's separate from the tools version and opt-in given it enforces strict concurrency checking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright I knew about the rename but I thought having a 6.0 Package.swift should be enough. Still need to check for myself.
Some more retroactive conformances