- Assertion improvements - Type check function calls - Functions in the environment - Compile function calls
5 lines
No EOL
129 B
Text
5 lines
No EOL
129 B
Text
fun foo(x: f64) {}
|
|
let x = foo("hello");
|
|
x;
|
|
|
|
// @type-error: 41 parameter 0 has an incompatible type: expected f64 but got string |