v/vlib/v/checker/tests/immutable_field.out

7 lines
184 B
Plaintext

vlib/v/checker/tests/immutable_field.vv:8:4: error: field `i1` of struct `Aaa` is immutable
6 | fn main() {
7 | a := Aaa{1}
8 | a.i1 = 2
| ~~
9 | }