Skip to content

Always require '=' before parsing an initializer#19979

Merged
2 commits merged intomasterfrom
require_equals
Nov 14, 2017
Merged

Always require '=' before parsing an initializer#19979
2 commits merged intomasterfrom
require_equals

Conversation

@ghost
Copy link
Copy Markdown

@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 ahejlsberg, rbuckton and sandersn November 13, 2017 21:33
@ahejlsberg
Copy link
Copy Markdown
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