mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
6 lines
261 B
Plaintext
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 | } |