2020-08-25 17:14:06 +02:00
|
|
|
vlib/v/checker/tests/immutable_field.vv:8:4: error: field `i1` of struct `Aaa` is immutable
|
2020-05-01 14:46:12 +02:00
|
|
|
6 | fn main() {
|
2020-05-27 18:12:34 +02:00
|
|
|
7 | a := Aaa{1}
|
2020-05-01 14:46:12 +02:00
|
|
|
8 | a.i1 = 2
|
|
|
|
| ~~
|
|
|
|
9 | }
|