Skip to content

[TypeChecker/CodeCompletion] Re-introduce expression sanitization bef… #59328

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
Jun 9, 2022

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 8, 2022

…ore solving

A call to SanitizeExpr has been incorrectly removed from
typeCheckForCodeCompletion by refactoring to use ASTNode.

It is still required because fallback calls could have partially
type-checked AST.

Resolves: #59315
Resolves: rdar://94619388

…ore solving

A call to `SanitizeExpr` has been incorrectly removed from
`typeCheckForCodeCompletion` by refactoring to use `ASTNode`.

It is still required because fallback calls could have partially
type-checked AST.

Resolves: swiftlang#59315
Resolves: rdar://94619388
@xedin xedin requested review from ahoppen and hborla June 8, 2022 20:30
@xedin
Copy link
Contributor Author

xedin commented Jun 8, 2022

@swift-ci please test

@raphaeltorquat0
Copy link

Guys can approve this?
@ahoppen @hborla

@xedin xedin merged commit 5ed21c6 into swiftlang:main Jun 9, 2022
ahoppen added a commit to ahoppen/swift-source-compat-suite that referenced this pull request Jun 13, 2022
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.

Assertion failed: (func->isOperator() && "Lookup should only find operators")
3 participants