-
Notifications
You must be signed in to change notification settings - Fork 25
SuperProperty references in field initializers #13
Comments
To me it seems like |
@michaelficarra @zenparsing @domenic @allenwb @erights and others: Any thoughts on this question? |
My initial intuition is that That is, IMO the grouping is:
Willing to be persuaded otherwise, certainly. |
I agree with @domenic's intuition. imo |
I'm uncomfortable with the level of special-casing required here. |
I think the grammar for |
@ljharb But we are apparently allowing |
Per our last meeting, "Initializers run with the semantics of individual anonymous methods with no arguments being run on the class. That explains the scope of this and super property access" There was general agreement at the last meeting on |
Currently we do not have any explicitly notated support for evaluating SuperProperty references in field initializers. Given that
this
is available, it seems it would only be natural to also provide SuperProperty as well.The text was updated successfully, but these errors were encountered: