aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/unexpected_or_propagate.out
blob: 411748d1551c18944365fc0abbd892da1b3754c4 (plain)
1
2
3
4
5
6
7
vlib/v/checker/tests/unexpected_or_propagate.vv:6:17: error: unexpected `?`, the function `ret_zero` does not return an optional
    4 |
    5 | fn opt_fn() ?int {
    6 |     a := ret_zero()?
      |                    ^
    7 |     return a
    8 | }