Re: "Multiple alias this" status?

2016-11-08 Thread Picaud Vincent via Digitalmars-d

Thank you for your answer, that is a sad news.



Re: "Multiple alias this" status?

2016-11-08 Thread Daniel Kozak via Digitalmars-d

Dne 8.11.2016 v 11:37 Picaud Vincent via Digitalmars-d napsal(a):


Hi All,

I just started to learn a little bit of D.

I read this thread
https://github.com/dlang/dmd/pull/3998

about "Multiple alias this".

I think this feature is very handy, but dmd and gcd compilers complain 
that "there must be only one" alias this.


It is not clear to me if this feature is not available yet or if there 
was a change in the language specifications (Andrei Alexandrescu book 
mentions "§6.13 Multiple subtyping") ?


Does anyone has more information concerning that?

Thanks in advance,
Vincent
This feature has never been part of any D compiler.  As you can see 
there is a pull request 3998 which trying to add this to D frontend, but 
there is no activity for a few months.


"Multiple alias this" status?

2016-11-08 Thread Picaud Vincent via Digitalmars-d

Hi All,

I just started to learn a little bit of D.

I read this thread
https://github.com/dlang/dmd/pull/3998

about "Multiple alias this".

I think this feature is very handy, but dmd and gcd compilers 
complain that "there must be only one" alias this.


It is not clear to me if this feature is not available yet or if 
there was a change in the language specifications (Andrei 
Alexandrescu book mentions "§6.13 Multiple subtyping") ?


Does anyone has more information concerning that?

Thanks in advance,
Vincent