thelilylang / lily

The Lily programming language ⚜
MIT License
9 stars 2 forks source link

Add the ability to call function as identifier #550

Closed ArthurPV closed 1 month ago

ArthurPV commented 1 month ago

The following code now works:

int f2() {
    return 3;
}

int main() {
    int (*f2_p)() = &f2;
}