| 1 | vlib/v/checker/tests/immutable_struct_postfix.vv:8:2: error: `a` is immutable, declare it with `mut` to make it mutable |
| 2 | 6 | fn main() { |
| 3 | 7 | a := Aaa{} |
| 4 | 8 | a.i++ |
| 5 | | ^ |
| 6 | 9 | a.i-- |
| 7 | 10 | } |
| 8 | vlib/v/checker/tests/immutable_struct_postfix.vv:9:2: error: `a` is immutable, declare it with `mut` to make it mutable |
| 9 | 7 | a := Aaa{} |
| 10 | 8 | a.i++ |
| 11 | 9 | a.i-- |
| 12 | | ^ |
| 13 | 10 | } |
| 14 |