-
Notifications
You must be signed in to change notification settings - Fork 86
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
C# 7.x: non-trailing named args #216
Conversation
Converting to draft until we're ready for C# 7 |
acda4ac
to
6e2316f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding suggestion
@RexJaeschke I think this is ready. I'll remove the draft status so it's in my queue to review. |
5423185
to
e187785
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments that should be discussed, but I think we should be able to get them resolved and get the PR merged in our next meeting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is short and clear, though I wonder why it was added [*] I think we can approve it.
Oh, and I think we should stick with "following"
[*] It doesn't seem to add much of benefit. It would have made more sense to me if M(b: false, cValue)
was supported, i.e. accept the defaults before b
and give values for b
onwards.
I've definitely found it useful in real code. It's not that unusual to have a set of arguments that are already in positional order, but you want to clarify two arguments of the same type, without specifying the names of all the arguments from there onwards. |
Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed at 2022-11-30 meeting.
closing and reopening |
The standard committe has merged the updates to the standard for the following features: - dotnet/csharpstandard#216 - non-trailing named arguments - dotnet/csharpstandard#236 - default literals Remove the feature speclets from the publishing list, and fix any related links.
* remove feature specs The standard committe has merged the updates to the standard for the following features: - dotnet/csharpstandard#216 - non-trailing named arguments - dotnet/csharpstandard#236 - default literals Remove the feature speclets from the publishing list, and fix any related links. * add redirections Add the redirections for removed proposal specs. * fix typo
No description provided.