Roldak / SFSL

Statically typed Functionnal Scripting Language
1 stars 0 forks source link

Recursion on local variables #86

Open Roldak opened 8 years ago

Roldak commented 8 years ago

Currently, recursion only works on function with associated to a def. The following doesn't work, but it should:

def main() => {
    f := ()->unit => {
        f();
    };
}