aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/v/checker/tests/immutable_array_var.out
blob: 6e45b41fd966b14060d1ca17fdc1c50a299ad8d1 (plain)
1
2
3
4
5
6
vlib/v/checker/tests/immutable_array_var.vv:3:2: error: `a` is immutable, declare it with `mut` to make it mutable
    1 | fn main() {
    2 |     a := [1, 2]
    3 |     a << 3
      |     ^
    4 | }