[Issue 12827] DMD segfaults when affecting immutable member with himself
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat May 31 10:40:52 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12827
matovitch <camille.brugel at laposte.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|DMD segfaults if the member |DMD segfaults when
|variable has the same name |affecting immutable member
|as the template argument |with himself
--- Comment #1 from matovitch <camille.brugel at laposte.net> ---
In fact it does'nt have to be template you affect an immutable member with
himself and it segfaults :
struct Test
{
immutable int i = i;
}
void main()
{}
--
More information about the Digitalmars-d-bugs
mailing list