hugowangler / D7050E

Building a compiler in Rust using LALRPOP for generating the parsers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type checker: Returning in else incorrectly flags the program as no tailing return statement

hugowangler opened this issue · comments

For example the fibonacci example. No return outside if statements but the function will always return since it has an else statement.