689 B
689 B
test/wrong_argument_count.ink:5,19: error: Use of undeclared symbol 'w'
return x * y * z * w;
^
test/wrong_argument_count.ink:9,0: error: Procedure call did not match any of the possible overloads for 'foo'
found:
foo(2.0, 3.0);
^^^
Possible overloads:
foo :: (x : float, y : float, z : float) -> float { (test/wrong_argument_count.ink:1)
Not enough arguments: Wanted 3, got 2.
foo :: (x : float, y : float, z : float, w : float) -> float { (test/wrong_argument_count.ink:4)
Not enough arguments: Wanted 4, got 2.
return x * y * z * w;
^
test/wrong_argument_count.ink:9,0: error: Procedure call did not match any of the possible overloads for 'foo'
found:
foo(2.0, 3.0);
^^^
Possible overloads:
foo :: (x : float, y : float, z : float) -> float { (test/wrong_argument_count.ink:1)
Not enough arguments: Wanted 3, got 2.
foo :: (x : float, y : float, z : float, w : float) -> float { (test/wrong_argument_count.ink:4)
Not enough arguments: Wanted 4, got 2.