Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Sep 1, 2023

Cherry-pick of #68254


  • Explanation:

Move logic from ConstraintGenerator::visitOverloadedDeclRefExpr
to pre-check to avoid including macro declarations referenced without #.
This means that pre-checking would synthesize TypeExpr in situations
when there is a type reference that is shadowed by a stdlib macro.

Resolves: #67815
Resolves: rdar://114796811

(cherry picked from commit cf257aa)

Move logic from `ConstraintGenerator::visitOverloadedDeclRefExpr`
to pre-check to avoid including macro declarations referenced
without `#`. This means that pre-checking would synthesize
`TypeExpr` in situations when there is a type reference that
is shadowed by a stdlib macro.

Resolves: swiftlang#67815
Resolves: rdar://114796811
(cherry picked from commit cf257aa)
@xedin xedin added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.9 labels Sep 1, 2023
@xedin xedin requested a review from hborla September 1, 2023 23:27
@xedin xedin requested a review from a team as a code owner September 1, 2023 23:27
@xedin
Copy link
Contributor Author

xedin commented Sep 1, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Sep 2, 2023

@swift-ci please test Windows platform

@xedin
Copy link
Contributor Author

xedin commented Sep 2, 2023

@swift-ci please build toolchain macOS

@xedin xedin merged commit f42cd3b into swiftlang:release/5.9 Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒 release cherry pick Flag: Release branch cherry picks swift 5.9

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants