Skip to content
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

Merged
merged 3 commits into from
Aug 15, 2024
Merged

Conversation

0xTim
Copy link
Member

@0xTim 0xTim commented Aug 15, 2024

Some more retroactive conformances

@0xTim 0xTim requested a review from ptoffy as a code owner August 15, 2024 12:52
Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.76%. Comparing base (ec25dfc) to head (d2ae4df).
Report is 1 commits behind head on main.

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              
Files Coverage Δ
Sources/JWTKit/ECDSA/ECDSA.swift 86.79% <100.00%> (+1.07%) ⬆️
Sources/JWTKit/RSA/RSA.swift 73.91% <100.00%> (+1.60%) ⬆️

@@ -40,5 +40,5 @@ let package = Package(
]
),
],
swiftLanguageVersions: [.v6]
swiftLanguageModes: [.v6]
Copy link
Contributor

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.

Copy link
Member Author

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

Copy link
Contributor

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.

@0xTim 0xTim merged commit f26649c into main Aug 15, 2024
9 checks passed
@0xTim 0xTim deleted the swift-6-retroactive-tests branch August 15, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants