Skip to content
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

New semantic analyzer: add comments and refactor #7130

Merged
merged 2 commits into from
Jul 2, 2019
Merged

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 2, 2019

Document deferral logic in some detail and remove redundant
calls to defer().

Work towards #7071.

Document deferral logic in some detail and remove redundant
calls to `defer()`.
@JukkaL JukkaL requested a review from ilevkivskyi July 2, 2019 15:33
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

Thanks for the clean-up!

analyzer

Return None only if some part of the type couldn't be bound *and* it
referred to an incomplete namespace or definition. In this also defer
Copy link
Member

Choose a reason for hiding this comment

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

Something is missing here, should it be "In this case also defer" or "In this situation also defer"?

@JukkaL JukkaL merged commit ec45983 into master Jul 2, 2019
@JelleZijlstra JelleZijlstra deleted the semanal-defer-0 branch July 2, 2019 21:12
JukkaL added a commit that referenced this pull request Jul 5, 2019
This concludes documentation that started in #7130 and #7135.

Closes #7071.
JukkaL added a commit that referenced this pull request Jul 5, 2019
This concludes documentation that started in #7130 and #7135.

Closes #7071.
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