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

Support nonstatic pattern-matching operators for active patterns. #10598

Closed
gafter opened this issue Apr 15, 2016 · 3 comments
Closed

Support nonstatic pattern-matching operators for active patterns. #10598

gafter opened this issue Apr 15, 2016 · 3 comments

Comments

@gafter
Copy link
Member

gafter commented Apr 15, 2016

Needed to support something like regular expressions.

@gafter gafter self-assigned this Apr 15, 2016
@gafter gafter added this to the 2.0 (RC) milestone Apr 15, 2016
@gafter gafter modified the milestones: 2.0 (RC), 3.0 Apr 25, 2016
@alrz
Copy link
Contributor

alrz commented May 13, 2016

Since Deconstruct method is an instance method I think this is no longer an issue...

@gafter
Copy link
Member Author

gafter commented May 13, 2016

Since Deconstruct method is an instance method I think this is no longer an issue...

This remains an issue because Deconstruct is an instance method on the object being matched.

@gafter gafter added this to Future Subfeatures in Compiler: Pattern-Matching Feb 20, 2017
@gafter gafter modified the milestones: 16.0, 16.1 Feb 26, 2019
@jcouv jcouv modified the milestones: 16.1, 16.2 Apr 23, 2019
@gafter
Copy link
Member Author

gafter commented Jun 3, 2019

This is being tracked at dotnet/csharplang#1047

@gafter gafter closed this as completed Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Compiler: Pattern-Matching
Future Subfeatures
Development

No branches or pull requests

3 participants