v2 / vlib / v / checker / tests / fn_call_or_block_err.out
6 lines · 6 sloc · 225 bytes · 62bdf990d03b069db82d75b35b547f9191942134
Raw
1vlib/v/checker/tests/fn_call_or_block_err.vv:7:18: error: wrong return type `int literal` in the `or {}` block, expected `string`
2 5 | }
3 6 |
4 7 | y := Aa(f() or { 2 })
5 | ^
6 8 | println(y)
7