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

Clarify implicit semicolon ambiguity resolution. #183

Merged
merged 1 commit into from
Dec 29, 2017

Conversation

alercah
Copy link
Contributor

@alercah alercah commented Dec 29, 2017

See https://play.rust-lang.org/?gist=59090cd71dfbd84cbbdc611b94a0a9c2&version=stable for an example that shows that the rule explained in the current docs is incorrect. It implies that the parse ambiguity is resolved depending on the type of the control flow expression, but that's not true.

See https://play.rust-lang.org/?gist=59090cd71dfbd84cbbdc611b94a0a9c2&version=stable for an example that shows that the rule explained in the current docs is incorrect. It implies that the parse ambiguity is resolved depending on the type of the control flow expression, but that's not true.
@Havvy Havvy merged commit e019355 into rust-lang:master Dec 29, 2017
@Havvy
Copy link
Contributor

Havvy commented Dec 29, 2017

💟 Thanks!

I was going to get around to this, but forgot all about it. So 👍 for getting to it before me.

@Havvy
Copy link
Contributor

Havvy commented Dec 29, 2017

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