Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 24, 2006 Ain't that a bit redundant? | ||||
---|---|---|---|---|
| ||||
Title says it all: <cite src="http://www.digitalmars.com/d/class.html"> ... BaseClassList: : SuperClass : SuperClass InterfaceClasses : InterfaceClass : InterfaceClass InterfaceClasses ^^^^^^^^^^^^^^^^ ... InterfaceClasses: InterfaceClass InterfaceClass InterfaceClasses ^^^^^^^^^^^^^^^^ ... </cite> Which of both is going to be dropped? I'd suggest to change to BaseClassList: : SuperClass : SuperClass InterfaceClasses : InterfaceClasses That does it. Wolfgang Draxinger |
July 24, 2006 Re: Ain't that a bit redundant? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wolfgang Draxinger | You're right, I'll fix it. Thanks! |
July 27, 2006 Re: Ain't that a bit redundant? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Wolfgang Draxinger | 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. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit. |
July 27, 2006 Re: Ain't that a bit redundant? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | Stewart Gordon wrote: > InterfaceClasses: > : InterfaceClass > : InterfaceClass , InterfaceClasses Well, I assumed that being taken over from the status quo. Wolfgang Draxinger -- E-Mail address works, Jabber: hexarith@jabber.org, ICQ: 134682867 GPG key FP: 2FC8 319E C7D7 1ADC 0408 65C6 05F5 A645 1FD3 BD3E |
July 28, 2006 Re: Ain't that a bit redundant? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon |
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
|
Copyright © 1999-2021 by the D Language Foundation