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

Addressing feedback of the ongoing proposal review.
Corresponding proposal amendments in swiftlang/swift-evolution#3206.

Companion change to swiftlang/swift#88205

rdar://173774670

@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.

@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

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.

2 participants