[fine] Gobs of work
- Assertion improvements - Type check function calls - Functions in the environment - Compile function calls
This commit is contained in:
parent
9d226b205d
commit
5ebede4a21
6 changed files with 539 additions and 142 deletions
6
fine/tests/expression/errors/no_arg_pollution.fine
Normal file
6
fine/tests/expression/errors/no_arg_pollution.fine
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
fun foo(x: f64) {}
|
||||
x;
|
||||
|
||||
// @type-error: 19 cannot find value x here
|
||||
// Used to have a bug where statements after a function declaration would
|
||||
// bind to the declaration's arguments, whoops.
|
||||
Loading…
Add table
Add a link
Reference in a new issue