http://d.puremagic.com/issues/show_bug.cgi?id=5676
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|Evaluating nested |[CTFE] segfault using tuple |std.typecons.tuple calls at |containing struct that has |compile time crashes DMD |opAssign OS/Version|Mac OS X |All --- Comment #1 from Don <[email protected]> 2011-06-24 01:56:04 PDT --- Reduced test case. It happens with compile time assignment to a tuple which contains an object with an opAssign. Not a regression, failed in 2.040 as well. struct S5676 { int x; void opAssign(S5676 rhs) { x = rhs.x;} } struct Tup5676(E...) { E g; void foo(E values) { g = values; } } bool ice5676() { Tup5676!(S5676) q; q.foo( S5676(3) ); assert( q.g[0].x == 3); // crashes here return true; } static assert(ice5676()); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
