Skip to content

Small cleanup to aid debugging and some regression tests #28026

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 4 commits into from
Nov 2, 2019

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Nov 1, 2019

Regression tests are for rdar://problem/56700017, rdar://problem/45217645

Also rdar://problem/45217645.
I can't reproduce <rdar://problem/56002633> anymore.
It's nice to be able to set a breakpoint on this method when
debugging the type checker, but recently we started unconditionally
calling it to get the circularity sentinel before kicking off a
request.

Instead, let's only call it when we're in the failure path.
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Nov 2, 2019

Why do these requests return Type() in the first place? I see. Maybe we could provide a different entry point for ErrorType specifically for requests.

Copy link
Contributor

@CodaFi CodaFi left a comment

Choose a reason for hiding this comment

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

LGTM

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