v2 / vlib / v / checker / tests / wrong_arr_field_err.out
4 lines · 4 sloc · 239 bytes · b9b53e6cd5687f62fc985c37474cc8bb220aa3ae
Raw
1vlib/v/checker/tests/wrong_arr_field_err.vv:1:34: error: wrong field `init1`, expecting `len`, `cap`, or `init`
2 1 | arr := []int{len: 100, cap: 200, init1: index * 3}
3 | ~~~~~
4 2 | println(arr)
5