8 lines
No EOL
188 B
Text
8 lines
No EOL
188 B
Text
fun foo(x: f64) {}
|
|
let x = foo("hello");
|
|
x;
|
|
let y = foo();
|
|
y;
|
|
|
|
// @type-error: 41 parameter 0 has an incompatible type: expected f64 but got string
|
|
// @type-error: 59 expected 1 parameters |