-
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
Support discards in deconstructions, out var and patterns #12619
Comments
Has the wildcard syntax been settled? My vote is definitely for |
@HaloFour The syntax is not finalized yet, but |
@HaloFour One more thing to set expectations, it is possible that wildcards may not make it in C# 7, but only 7.1 or 8, due to time constraint. I intend to figure out the design so that it can be added later without introducing compat issues. |
Moving the actual language feature out to 2.1 for now. Issue #12664 is tracking the syntax work in RC. |
This will be easier to address once #13270 has been done. |
@gafter I didn't understand that comment. The way I'd implement wildcards in the current design would be make a special |
@jcouv The initial binder should not be producing any "steps" at all, as those are not part of the static semantics of the construct. |
This issue was superseded by the more detailed issue #14794 |
Even if wildcards don't make it into C# 7, we need to figure out the syntax model and design, so they can be added smoothly later.
The text was updated successfully, but these errors were encountered: