<div dir="ltr">reposting <a href="https://issues.dlang.org/show_bug.cgi?id=14813">https://issues.dlang.org/show_bug.cgi?id=14813</a> here as it seems quite weird:<div><pre class="" id="comment_text_0" style="font-size:medium;white-space:pre-wrap;width:50em;color:rgb(0,0,0)">/+
dmd -c -o- main.d
how come this even compiles?
+/

main.d:
-----------
void fun()
{
    alias A = void delegate(int);
    //WTF?
    A temp1 = (some_inexistant_field) {  };
    //WTF?
    A temp2 = delegate(some_inexistant_field) {  };

    alias A2 = void delegate(int,double);
    //WTF?
    A2 temp3 = (some_inexistant_field,sadfasfd) {  };
}</pre></div></div>