digitalmars.D.learn - multiple alias this in class/struct not allowed?
- =?ISO-8859-1?Q?Adam_Cig=E1nek?= (9/9) Nov 08 2010 Hello,
- bearophile (4/6) Nov 08 2010 Feature not implemented yet :-) (It's not just a matter of implementatio...
Hello, Why are multiple alias this declarations in a class/struct not allowed? This page http://www.digitalmars.com/d/2.0/class.html#AliasThis says so, and also dmd2 gives me an error when I try to do it, but TDPL says something different (on page 231): "a class could introduce any number of alias this declarations, thus subtyping any number of types."). Did this feature change? Or is it a bug? adam.
Nov 08 2010
Adam Cigánek:Why are multiple alias this declarations in a class/struct not allowed?Feature not implemented yet :-) (It's not just a matter of implementation: I am not sure the design of the semantics of it is finished). Bye, bearophile
Nov 08 2010