http://d.puremagic.com/issues/show_bug.cgi?id=4257
Summary: ICE(interpret.c): passing parameter into CTFE as ref parameter Product: D Version: 2.041 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-invalid-code, wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don <clugd...@yahoo.com.au> 2010-06-01 07:21:27 PDT --- int bug4257(ref int x) { return 3; } void bug4257b(int y) { static assert(bug4257(y)); } -------- assert interpret.c(190) istate And if it's not a reference parameter, it compiles but generates wrong code. This is the root cause of bug 3809, for example. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------