http://d.puremagic.com/issues/show_bug.cgi?id=6385
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Don <[email protected]> 2011-08-26 04:37:04 PDT --- Reduced test case. It seems this bug is quite complicated, it requires two semantic errors, plus uniform function call syntax, and a template constraint: template template6385(T) { enum template6385 = false; } void bug6385(A)(A a) if (template6385!A) { this_is_an_error(); } const bool bool6385 = is(typeof( { ubyte[2] r; this_is_another_error(); r.bug6385; }() )); The test case was accidentally fixed by commit: https://github.com/D-Programming-Language/dmd/commit/dc83c but I don't really understand why. It seems to be just luck. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
