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

Implement designator restrictions for C# 9.0 patterns #40533

Closed
gafter opened this issue Dec 20, 2019 · 1 comment
Closed

Implement designator restrictions for C# 9.0 patterns #40533

gafter opened this issue Dec 20, 2019 · 1 comment

Comments

@gafter
Copy link
Member

gafter commented Dec 20, 2019

In the currently proposed C# 9.0 pattern-matching extensions, it is forbidden to declare a designator in a pattern that is beneath a not or or pattern combinator. This needs to be implemented in the prototype.

Relates to dotnet/csharplang#2850

@gafter gafter added this to the Compiler.Net5 milestone Dec 20, 2019
@gafter gafter self-assigned this Dec 20, 2019
gafter pushed a commit to gafter/roslyn that referenced this issue Dec 21, 2019
gafter pushed a commit that referenced this issue Jan 6, 2020
@gafter
Copy link
Member Author

gafter commented Jan 6, 2020

Fixed in #40543

@gafter gafter closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant