[fine] Make sure we check this one
This commit is contained in:
parent
5ebede4a21
commit
1c1c03e1d9
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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: 41 parameter 0 has an incompatible type: expected f64 but got string
|
||||
// @type-error: 59 expected 1 parameters
|
||||
Loading…
Add table
Add a link
Reference in a new issue