Ain't that a bit redundant?
Hasan Aljudy
hasan.aljudy at gmail.com
Thu Jul 27 23:13:14 PDT 2006
Stewart Gordon wrote:
> Wolfgang Draxinger wrote:
> <snip>
>
>> Which of both is going to be dropped? I'd suggest to change to
>>
>> BaseClassList:
>> : SuperClass
>> : SuperClass InterfaceClasses
>> : InterfaceClasses
>>
>> That does it.
>
>
> No it doesn't. Surely it should be
>
> BaseClassList:
> : SuperClass
> : SuperClass , InterfaceClasses
> : InterfaceClasses
>
> InterfaceClasses:
> : InterfaceClass
> : InterfaceClass , InterfaceClasses
>
> Stewart.
>
That is still ambiguous.
class A : B, C
{
}
is B a SuperClass or an Interface?
it should be:
BaseClassInterfaceList:
: InterfaceClassList
InterfaceClassList:
InterfaceClass
InterfaceClass, InterfaceClassList
More information about the Digitalmars-d
mailing list