Skip to content

[Source Warning Control] Rename '@warn' to '@diagnose'#3305

Open
artemcm wants to merge 1 commit intoswiftlang:mainfrom
artemcm:DiagnoseAttr
Open

[Source Warning Control] Rename '@warn' to '@diagnose'#3305
artemcm wants to merge 1 commit intoswiftlang:mainfrom
artemcm:DiagnoseAttr

Conversation

@artemcm
Copy link
Copy Markdown
Contributor

@artemcm artemcm commented Mar 31, 2026

@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Mar 31, 2026

@swift-ci test

@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 1, 2026

@swift-ci test

@artemcm artemcm marked this pull request as ready for review April 1, 2026 14:59
}

func testWarnSpellingBackwardCompat() throws {
// The old @warn spelling should continue to work as an alias
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we emit a warning for the @warn spelling?

Copy link
Copy Markdown
Contributor Author

@artemcm artemcm Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK 👍🏽

@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 13, 2026

@swift-ci test

1 similar comment
@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 14, 2026

@swift-ci test

@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 22, 2026

@swift-ci test

@artemcm artemcm requested a review from a team as a code owner April 27, 2026 10:16
@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 27, 2026

@swift-ci test

@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 27, 2026

@swift-ci test Windows platform

@artemcm
Copy link
Copy Markdown
Contributor Author

artemcm commented Apr 28, 2026

Needs swiftlang/swift-build#1348 to land for the failing jobs to go green.

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