Skip to content

Migration tooling for Swift features #2673

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

Merged
merged 21 commits into from
May 21, 2025
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Clarify diagnostic group for a proposed warning
  • Loading branch information
AnthonyLatsis committed Feb 20, 2025
commit 8ae57e809cfbe17a549fff127b006bf54cbecfdd
5 changes: 3 additions & 2 deletions proposals/NNNN-adoption-tooling-for-swift-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ for a given upcoming feature, i.e., because the upcoming feature does not
have a mechanical migration.
A corresponding warning will be emitted in this case to avoid the false
impression that the impacted source code is compatible with the feature.
This warning will belong to the diagnostic group `StrictLanguageFeatures`.

### Interface

Expand All @@ -149,8 +150,8 @@ For example:
```

If the specified mode is invalid, the flag will be ignored, and a warning will
be emitted. This warning will belong to the `StrictLanguageFeatures` diagnostic
group.
be emitted.
This warning will belong to the diagnostic group `StrictLanguageFeatures`.
In a series of either of these options applied to a given feature, only the
last option will be honored.
If an upcoming feature is both implied by the effective language mode and
Expand Down