Hi,

I just stumbled over this behavior. I am not sure whether
the behavior is correct or not.

alias foo = () => new Object;
void bar(Object o){}

void main()
{
        auto n1 = foo;
        bar(foo);
}

While first line in main is working fine,
second line does not compile due to missing ().

Is this correct?

Kind regards
André

Reply via email to