spurious error related to an alias to a static function declared in an aggregate

test case

unit temp;

static function f(){}

struct S
{
    alias f0 = f;
}

function main(): s32
{
    S.f0();
    return 0;
}    

output

temp.sx:12:9: error, f0 expects 0 argument(s) and not 1

Assignee Loading
Time tracking Loading