Skip to content

[CSGen] Rework nil-coalescing operator handling in LinkedExprAnalyzer #40214

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
Nov 17, 2021

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Nov 17, 2021

Allow LinkedExprAnalyzer to capture ?? operator and walk into
its arguments, because they could have valuable type information,
but don't attempt to favor or link operators if ?? is present in a chain.

Resolves: rdar://85277993

Allow `LinkedExprAnalyzer` to capture `??` operator and walk into
its arguments because they could have valuable type information,
but don't attempt to favor or link operators if `??` is present in a chain.

Resolves: rdar://85277993
@xedin xedin requested a review from hborla November 17, 2021 02:00
@xedin
Copy link
Contributor Author

xedin commented Nov 17, 2021

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Nov 17, 2021

@swift-ci please smoke test Windows platform

@xedin
Copy link
Contributor Author

xedin commented Nov 17, 2021

@swift-ci please smoke test macOS platform

@xedin xedin merged commit 4f8584f into swiftlang:main Nov 17, 2021
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