-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Permit a trailing comma inside a switch expression #32292
Comments
Thanks! |
what about property patterns? |
@alrz Yes, inside property patterns too (approved yesterday). |
Awesome! |
gafter
added a commit
to gafter/roslyn
that referenced
this issue
Jan 14, 2019
- 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
xoofx
pushed a commit
to stark-lang/stark-roslyn
that referenced
this issue
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
Per LDM 2019-01-09 we have accepted the proposal in dotnet/csharplang#2098 to allow a trailing comma inside a switch expression
Similarly, we have accepted a proposal to allow a trailing comma inside a property subpattern.
This needs to be implemented.
The text was updated successfully, but these errors were encountered: