snirk-lang / protosnirk

The beginnings of a programming language
MIT License
1 stars 1 forks source link

Empty return statements fail #80

Closed SnirkImmington closed 5 years ago

SnirkImmington commented 5 years ago

Unfortunately, this simple program:

fn main()
    return

fails to compile in the identify stage. There's an unwrapping of return expressions somewhere.