Open gafter opened 7 years ago
Note to self: suggest changing the grammar to remove distinction between class-type and interface-type in class-base.
We decided to punt on this until C# 6, yes? Assigning the milestone as that for the moment, but please correct me if I've misremembered.
I'm not sure, but that sounds like a good way to handle it.
All comments prior to this one were before we removed section 7. I've updated the title only.
I'm happy for this to be reclassified as clarity if folks see fit.
We cannot know whether the syntax is a base class specification until after the base type is bound (because we don't know if it is an interface or class), but we can't bind the base type until we know whether or not to assume, temporarily, it is
object
.What we implement is that we assume the base type is
object
while binding the entire base clause.