-
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: Default literals #236
Conversation
converting to draft: C# 7 feature |
89d4a8e
to
dda7cbb
Compare
dda7cbb
to
3d3ae0d
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 bunch of comments - we should discuss this at the 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.
Some of the phraseology doesn't match the Standard (it presumable comes from the source material) so needs changing. Further I think we should describe default similar to null for consistency.
The restrictions on the use of default_literal as the argument to unary & binary operators, as described in https://github.com/dotnet/csharplang/blob/main/meetings/2017/LDM-2017-05-31.md#default-in-operators, do not appear to be in this Standard. Where they ever added to the spec or implemented?
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 few nits, but this is getting very close.
closing and reopening to trigger actions. |
We have fixed everything. (Nigel isn't here to approve, but we'd like to merge. We're confident.)
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.
This LGTM (per Nov 30th meeting)
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
This PR implements the V7 proposal discussed in Issue #67.