| 1 | vlib/v/checker/tests/or_err.vv:6:2: error: last statement in the `or {}` block should be an expression of type `&int` or exit parent scope |
| 2 | 4 | |
| 3 | 5 | a := f() or { |
| 4 | 6 | { |
| 5 | | ^ |
| 6 | 7 | } |
| 7 | 8 | } |
| 8 | vlib/v/checker/tests/or_err.vv:10:14: error: wrong return type `rune` in the `or {}` block, expected `&int` |
| 9 | 8 | } |
| 10 | 9 | _ = f() or { a } |
| 11 | 10 | _ = f() or { `.` } |
| 12 | | ~~~ |
| 13 |