mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
12 lines
575 B
Text
12 lines
575 B
Text
vlib/v/checker/or_block_assert_err.vv:10:22: error: last statement in the `or {}` block should be an expression of type `int` or exit parent scope
|
|
8 |
|
|
9 | f() or { assert true }
|
|
10 | a := f() or { assert true }
|
|
| ~~~~~~
|
|
11 | dump(a)
|
|
12 | g(f() or { assert true })
|
|
vlib/v/checker/or_block_assert_err.vv:12:19: error: last statement in the `or {}` block should be an expression of type `int` or exit parent scope
|
|
10 | a := f() or { assert true }
|
|
11 | dump(a)
|
|
12 | g(f() or { assert true })
|
|
| ~~~~~~
|