http://d.puremagic.com/issues/show_bug.cgi?id=5026
Don <clugd...@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D1 |D1 & D2 --- Comment #2 from Don <clugd...@yahoo.com.au> 2010-10-18 13:29:49 PDT --- And a couple of test cases. string bug5026() { char[0] code; code[0] = "0"; return "0"; } template compiles(int T) { bool compiles = true; } // ICE(glue.c) static assert(!is(typeof(compiles!(mixin(bug5026()))))); // ICE(expression.c) static assert(!is(typeof(mixin(bug5026())))); // This example is an accepts-valid bug string bug5026c() { char[0] code; code[0] = 7; return "0"; } static assert(!is(typeof(mixin(bug5026c())))); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------