Skip to content

[5.9] Stop treating macro declaring init identifier as producing initializers #67357

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

DougGregor
Copy link
Member

  • Explanation: Unwind a temporary workaround we put into the compiler that treated the escaped identifier "init" as an initializer in the set of names introduced by a macro. We've addressed the underlying issues.
  • Scope: Narrow. Only affects macros using a deprecated workaround.
  • Risk: Low due to narrow scope.
  • Original pull request: Stop treating macro declaring init identifier as producing initializers #67356
  • Issue: rdar://108589649.

…zers

Unwind a temporary workaround we put into the compiler that treated
the escaped identifier "init" as an initializer in the set of names
introduced by a macro. We've addressed the underlying issues.

Fixes rdar://108589649.
@DougGregor DougGregor requested a review from a team as a code owner July 18, 2023 05:49
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor changed the title Stop treating macro declaring init identifier as producing initializers [5.9] Stop treating macro declaring init identifier as producing initializers Jul 18, 2023
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 01564f6 into swiftlang:release/5.9 Jul 18, 2023
@DougGregor DougGregor deleted the macro-identifier-init-not-special-5.9 branch July 18, 2023 20:18
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