Skip to content

Always require '=' before parsing an initializer #19979

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
2 commits merged into from
Nov 14, 2017
Merged

Always require '=' before parsing an initializer #19979

2 commits merged into from
Nov 14, 2017

Conversation

ghost
Copy link

@ghost ghost commented Nov 13, 2017

Fixes #19134 as an alternative to #19158.
#19158 made it so we wouldn't parse an initializer without = in speculative parsing; this makes it so we won't parse one in any case if the = is missing.

@ghost ghost requested review from rbuckton, sandersn and ahejlsberg November 13, 2017 21:33
@ahejlsberg
Copy link
Member

@Andy-MS Let's merge this one and then I will put in another PR with my additional changes.

@ghost ghost merged commit 7e8851e into master Nov 14, 2017
@ghost ghost deleted the require_equals branch November 14, 2017 15:16
@ahejlsberg ahejlsberg mentioned this pull request Nov 14, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant