-
Notifications
You must be signed in to change notification settings - Fork 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
Add detailed design to clarify the field keyword spec and incorporate all LDM decisions #8069
Conversation
c97468e
to
8a49b97
Compare
I also want to call out that this proposal does not include indexers. |
aa163ad
to
e507eb4
Compare
@CyrusNajmabadi Are you still thinking we could need to take to LDM for some confirmations before merging? I think this is ready for that if so (could you look it over with the new updates)? |
set | ||
{ | ||
if (value == parent.AmbientValue) | ||
field = null; // No warning here. Resume following the parent's value. |
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 feels wrong to me. Feel like this should be a warning and users complaining about that warning would be evidence that we should expand the feature in the future to allow explicit declaration of the field type.
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.
Great consideration, being discussed in WG.
Motivated by noticing missing scenarios on SharpLab for the feature branch.
@CyrusNajmabadi indicated that this may need to go through LDM.