Skip to content

Conversation

@DougGregor
Copy link
Member

@DougGregor DougGregor commented May 4, 2023

  • Explanation: An incorrectly-specified starting context for name lookup meant that macro lookup itself was failing, and therefore did not trigger expansion of the freestanding macro or introduction of the macro-expanded declarations into the context.
  • Scope: Narrow; affects code using freestanding declaration macros within types or extensions.
  • Risk: Low, no effect in code that doesn't use macros.
  • Review: @rxwei
  • Issue: rdar://108824784
  • Original pull request: [Macros] Fix lazy expansion of freestanding macros within types/extensions #65670

DougGregor added 2 commits May 4, 2023 12:28
…sions

An incorrectly-specified starting context for name lookup meant that
macro lookup itself was failing, and therefore did not trigger
expansion of the freestanding macro or introduction of the
macro-expanded declarations into the context.

Fixes rdar://108824784.
@DougGregor DougGregor requested a review from a team as a code owner May 4, 2023 19:30
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit db49a31 into swiftlang:release/5.9 May 5, 2023
@DougGregor DougGregor deleted the freestanding-member-lookup-5.9 branch May 5, 2023 13:49
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