[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
5
fine/tests/expression/errors/wrong_function.fine
Normal file
5
fine/tests/expression/errors/wrong_function.fine
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
fun foo(x: f64) {}
|
||||
let x = foo("hello");
|
||||
x;
|
||||
|
||||
// @type-error: 41 parameter 0 has an incompatible type: expected f64 but got string
|
||||
Loading…
Add table
Add a link
Reference in a new issue