In fact it segfauls on any template parameter if it has the same name as the immutable member (at least it's coherent). Something as simple as :

struct Foo(int i)
{
    immutable int i = i;
}

void main()
{
    Foo!5 foo;
    writeln(foo);
}

I am suprised that nobody tried this before. BTW I am starting to worry : my mail didn't arrived yet. I would be very grateful if someone could report this for me. :S

Reply via email to