http://d.puremagic.com/issues/show_bug.cgi?id=10858
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[CTFE] null pointer assert |CTFE wrong code for |error |comparison of array of | |pointers --- Comment #1 from Don <[email protected]> 2013-09-05 23:24:28 PDT --- This is a horrible wrong-code bug, nothing to do with 'new'. The bug is in ==. The pointer doesn't need to be null. Reduced test case: bool bug10858() { int *[4] x; x[0] = null; assert(x[0] == null); return true; } static assert(bug10858()); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
