Single "alias this"
Justin Spahr-Summers
Justin.SpahrSummers at gmail.com
Sun Jul 25 14:00:23 PDT 2010
On Sun, 25 Jul 2010 10:53:51 -0400, bearophile
<bearophileHUGS at lycos.com> wrote:
> Deokjae Lee:
>
> > //interfaces first, base class last
> > class Foo : I1, I2, Base {}
> >
> > This doesn't compile.
> > I didn't know the order of base class and interfaces matter.
>
> If not already present, that looks good for Bugzilla.
That's as specified in the language spec:
http://digitalmars.com/d/2.0/class.html#BaseClassList
You could argue that it shouldn't be that way, but it's correct behavior
as the language stands now.
More information about the Digitalmars-d-learn
mailing list