-
Notifications
You must be signed in to change notification settings - Fork 464
Update syntax for #objectFormat per SE-0492 #3170
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
Conversation
|
@swift-ci please test |
|
@swift-ci please test |
| /// swift repo, and breaking clients with the new addition to the protocol. | ||
| extension BuildConfiguration { | ||
| /// FIXME: This should be @_spi(ExperimentalLanguageFeatures) but cannot due | ||
| /// to rdar://147943518, https://github.com/swiftlang/swift/issues/80313 |
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.
I think this FIXME is no longer relevant now, right?
Also, could you mark this default implementation as deprecated so that clients conforming to BuildConfiguration without implementing isActiveTargetObjectFormat get a warning, similar to what we do in
| @available(*, deprecated, message: "`MacroExpansionContext` conformance must implement `lexicalContext`") |
…TargetObjectFormat
|
@swift-ci please test |
|
@swift-ci please test Windows platform |
See https://github.com/swiftlang/swift-evolution/blob/main/proposals/0492-section-control.md, which is now accepted.