diff --git a/vlib/v/parser/tests/array_init.out b/vlib/v/parser/tests/array_init.out index 7dff501a479923..e3437627088009 100644 --- a/vlib/v/parser/tests/array_init.out +++ b/vlib/v/parser/tests/array_init.out @@ -3,14 +3,15 @@ vlib/v/parser/tests/array_init.vv:2:7: warning: use `x := []Type{}` instead of ` 2 | _ := []int | ~~~~~ 3 | _ := [1]int - 4 | } + 4 | _ := []!int{} vlib/v/parser/tests/array_init.vv:3:7: warning: use e.g. `x := [1]Type{}` instead of `x := [1]Type` 1 | fn main() { 2 | _ := []int 3 | _ := [1]int | ~~~~~~ - 4 | } -vlib/v/parser/tests/array_init.vv4:9:: error: expression evaluated but not used + 4 | _ := []!int{} + 5 | } +vlib/v/parser/tests/array_init.vv:4:9: error: array does not support storing storing Result 2 | _ := []int 3 | _ := [1]int 4 | _ := []!int{}