Skip to content

[Diagnostics] Allow result build to detect ErrorExprs in the body #36854

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
Apr 12, 2021

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 9, 2021

We assume that presence of ErrorExpr means that the problem has
been diagnosed early (i.e. by parser), so the fix is going to return
true if diagnostic engine has emitted an error.

Resolves: rdar://76246526

We assume that presence of `ErrorExpr` means that the problem has
been diagnosed early (i.e. by parser), so the fix is going to return
`true` if diagnostic engine has emitted an error.

Resolves: rdar://76246526
@xedin xedin requested a review from hborla April 9, 2021 23:46
@xedin
Copy link
Contributor Author

xedin commented Apr 9, 2021

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Apr 10, 2021

@swift-ci please test Windows platform

Copy link
Member

@hborla hborla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xedin xedin merged commit f481a81 into swiftlang:main Apr 12, 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