v/vlib/v/checker/tests/function_wrong_return_type.out

7 lines
210 B
Plaintext

vlib/v/checker/tests/function_wrong_return_type.vv:2:9: error: cannot use `float literal` as type `int` in return argument
1 | fn h() int {
2 | return 3.14
| ~~~~
3 | }
4 |