v/vlib/v/checker/tests/selector_expr_optional_err.out

7 lines
276 B
Plaintext

vlib/v/checker/tests/selector_expr_optional_err.vv:10:16: error: cannot access fields of an optional, handle the error with `or {...}` or propagate it with `?`
8 |
9 | fn main() {
10 | println(abc().status_code)
| ~~~~~~~~~~~
11 | }