Skip to content

[PreCheck] Filter out macro declarations from result set #68254

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

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Sep 1, 2023

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

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
@xedin
Copy link
Contributor Author

xedin commented Sep 1, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Sep 1, 2023

@swift-ci please build toolchain macOS

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.

fail to build Observable extenion method on RxSwift
2 participants