oden/fine/tests/expression/errors/wrong_function.fine
John Doty 5ebede4a21 [fine] Gobs of work
- Assertion improvements
- Type check function calls
- Functions in the environment
- Compile function calls
2024-01-13 08:12:39 -08:00

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