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

Syntax changes for recursive pattern-matching feature #32432

Merged
merged 5 commits into from
Jan 18, 2019

Conversation

gafter
Copy link
Member

@gafter gafter commented Jan 14, 2019

Rename "deconstruct pattern" to "positional pattern" in the APIs.
Fixes #32291

Permit a trailing commas in two places

  • Permit a trailing comma after the last arm of a switch expression
  • Permit a trailing comma after the last subpattern of a property pattern clause

Fixes #32292

@gafter gafter added the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Jan 14, 2019
@gafter gafter self-assigned this Jan 14, 2019
@gafter gafter requested review from a team as code owners January 14, 2019 00:01
Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

Done with review pass (iteration 2)

@jcouv
Copy link
Member

jcouv commented Jan 14, 2019

Sorry, I failed to notice the "personal" label. #Closed

@jcouv jcouv added this to the 16.0.P2 milestone Jan 14, 2019
@gafter gafter changed the base branch from master to dev16.0-preview2 January 14, 2019 20:32
@gafter gafter changed the base branch from dev16.0-preview2 to master January 14, 2019 20:33
- Permit a trailing comma after the last arm of a switch expression
- Permit a trailing comma after the last subpattern of a property pattern clause
Fixes dotnet#32292
@gafter gafter changed the base branch from master to dev16.0-preview2 January 14, 2019 21:05
@gafter gafter changed the base branch from dev16.0-preview2 to master January 16, 2019 00:12
@gafter gafter modified the milestones: 16.0.P2, 16.0.P3 Jan 16, 2019
@gafter gafter removed the PR For Personal Review Only The PR doesn’t require anyone other than the developer to review it. label Jan 17, 2019
@gafter
Copy link
Member Author

gafter commented Jan 17, 2019

@dotnet/roslyn-compiler May I please have a couple of reviews of this set of syntax changes for pattern-matching? It is targeting P3.

@jcouv jcouv self-assigned this Jan 17, 2019
Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (iteration 5)

@gafter gafter merged commit 882f646 into dotnet:master Jan 18, 2019
xoofx pushed a commit to stark-lang/stark-roslyn that referenced this pull request Apr 16, 2019
* Rename "deconstruct pattern" to "positional pattern" in the APIs.
Fixes dotnet#32291

* Permit a trailing commas in two places
- Permit a trailing comma after the last arm of a switch expression
- Permit a trailing comma after the last subpattern of a property pattern clause
Fixes dotnet#32292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants