[Issue 7043] CTFE: ICE illegal reference value 0LU, only with -inline
https://issues.dlang.org/show_bug.cgi?id=7043 Andrei Alexandrescu changed: What|Removed |Added Version|D1 & D2 |D2 --
[Issue 7043] CTFE: ICE illegal reference value 0LU, only with -inline
http://d.puremagic.com/issues/show_bug.cgi?id=7043 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #4 from Walter Bright 2011-12-18 21:57:10 PST --- https://github.com/D-Programming-Language/dmd/commit/d0e793e0e62d3d11ab9c622e934388d16af51c3b https://github.com/D-Programming-Language/dmd/commit/325e94c9354fd5d3e21a1976df83b78a2d3a1a41 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7043] CTFE: ICE illegal reference value 0LU, only with -inline
http://d.puremagic.com/issues/show_bug.cgi?id=7043 --- Comment #3 from Don 2011-12-02 02:52:02 PST --- Further reduced. Still requires -inline. bool bug7043(S)(ref int x) { return true; } static assert( { int i = 0; return bug7043!(char)(i); }() ); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7043] CTFE: ICE illegal reference value 0LU, only with -inline
http://d.puremagic.com/issues/show_bug.cgi?id=7043 Don changed: What|Removed |Added CC||clugd...@yahoo.com.au Summary|CTFE: ICE illegal reference |CTFE: ICE illegal reference |value 0LU |value 0LU, only with ||-inline --- Comment #2 from Don 2011-12-02 02:41:53 PST --- Reduced test case, requires -inline: bool decode(S)(ref int x) { return true; } bool front(A)() { int i = 0; return decode!(char)(i); } static assert( is(typeof({ front!(int)(); }())) ); static assert ( front!(int)()); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---