v2 / vlib / v / checker / tests / fn_call_with_extra_parenthesis.out
19 lines · 19 sloc · 534 bytes · 3d60410b605d001e54f280070d5f952da9de1112
Raw
1vlib/v/checker/tests/fn_call_with_extra_parenthesis.vv:1:9: notice: unused parameter: `i`
2 1 | fn doit(i int) {
3 | ^
4 2 | }
5 3 |
6vlib/v/checker/tests/fn_call_with_extra_parenthesis.vv:5:2: error: expected 1 argument, but got 0
7 3 |
8 4 | fn main() {
9 5 | doit()(1)
10 | ~~~~~~
11 6 | }
12Details: have ()
13 want (int)
14vlib/v/checker/tests/fn_call_with_extra_parenthesis.vv:5:9: error: unknown function:
15 3 |
16 4 | fn main() {
17 5 | doit()(1)
18 | ^
19 6 | }
20