Function typechecking bug
mbenke opened this issue · comments
Marcin Benke commented
When typechecking a function declaration, its body should be typechecked in the environment taken from the declared type.
Not doing so leads to a crash when typechecking functions with nonlocal variables
Test case: TypingExamples.e543
Marcin Benke commented
This should be in another repository, my apologies. Please delete