http://d.puremagic.com/issues/show_bug.cgi?id=3196
Don <clugd...@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Segfault(mtype.c) Bad |Segfault(mtype.c) almost |struct declaration before a |any error involving a |anonymous delegate within |delegate inside a function |the parameter list | Severity|normal |regression --- Comment #2 from Don <clugd...@yahoo.com.au> 2009-08-06 00:00:22 PDT --- Original title: "Bad struct declaration before a anonymous delegate within the parameter list show a segment fault" It's actually a lot more general than that. And it's a regression. Another example from bug #3227: auto x = (void){}; ---- ice.d(1): Error: cannot have parameter of type void ice.d(1): Error: cannot have parameter of type void <segfault> Other examples from bug #3228: void main(){ (){}; (){}; } ice.d(1): Error: function has no effect in expression (__dgliteral1) <segfault> This smiley variant should compile without errors. But it just segfaults. --- static assert(!is(typeof((){(){} ;-() {};}))); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------