dmd segfaults
matovitch via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat May 31 10:22:39 PDT 2014
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
More information about the Digitalmars-d-learn
mailing list