vxx2 / vlib / v / checker / tests / selector_expr_option_err.out
6 lines · 6 sloc · 272 bytes · 2879c5110c6dd4f38585e97baba8dce3101769fa
Raw
1vlib/v/checker/tests/selector_expr_option_err.vv:10:16: error: cannot access fields of an Option, handle the error with `or {...}` or propagate it with `?`
2 8 |
3 9 | fn main() {
4 10 | println(abc().status_code)
5 | ~~~~~~~~~~~
6 11 | }
7