1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/parser/tests/index_expr_option_err.out
2023-01-09 09:36:45 +03:00

6 lines
261 B
Plaintext

vlib/v/parser/tests/index_expr_option_err.vv:3:14: error: `?` for propagating errors from index expressions is no longer supported, use `!` instead of `?`
1 | fn main() {
2 | a := [1, 2]
3 | println(a[0]?)
| ^
4 | }