snirk-lang / protosnirk

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

Fix empty return error #89

Closed SnirkImmington closed 5 years ago

SnirkImmington commented 5 years ago

A typo in a call to primitive_type_ix was causing a crash on compiling code that calls return without an expression. Fixes #80.