December 06, 2005
Finding new ways to torture these new features...
I'm not sure which of these is the problem, but this is as far
as I've been able to simplify it.
--------
template chook(int n)
{
  const int chook = 3;
}

template dog(alias f) {
   int dog =  chook!(f.mangleof.length);
}

class pig {}

const int goose = dog!(pig);
December 10, 2005
Don Clugston schrieb am 2005-12-06:
> Finding new ways to torture these new features...
> I'm not sure which of these is the problem, but this is as far
> as I've been able to simplify it.
> --------
> template chook(int n)
> {
>    const int chook = 3;
> }
>
> template dog(alias f) {
>     int dog =  chook!(f.mangleof.length);
> }
>
> class pig {}
>
> const int goose = dog!(pig);

Added to DStress as http://dstress.kuehne.cn/run/m/mangleof_14_A.d http://dstress.kuehne.cn/run/m/mangleof_14_B.d http://dstress.kuehne.cn/run/m/mangleof_14_C.d http://dstress.kuehne.cn/run/m/mangleof_14_D.d http://dstress.kuehne.cn/run/m/mangleof_14_E.d http://dstress.kuehne.cn/run/m/mangleof_14_F.d http://dstress.kuehne.cn/run/m/mangleof_14_G.d http://dstress.kuehne.cn/run/m/mangleof_14_H.d http://dstress.kuehne.cn/run/m/mangleof_14_I.d

Thomas