2020-11-04 12:34:12 +01:00
|
|
|
vlib/v/checker/tests/prefix_expr_decl_assign_err.vv:2:5: error: non-name on the left side of `:=`
|
|
|
|
1 | fn main() {
|
|
|
|
2 | &a := 12
|
|
|
|
| ^
|
|
|
|
3 | (*d) := 14
|
|
|
|
4 | }
|
2021-01-19 14:49:40 +01:00
|
|
|
vlib/v/checker/tests/prefix_expr_decl_assign_err.vv:3:5: error: non-name `(*d)` on left side of `:=`
|
2020-11-04 12:34:12 +01:00
|
|
|
1 | fn main() {
|
|
|
|
2 | &a := 12
|
|
|
|
3 | (*d) := 14
|
2021-01-19 14:49:40 +01:00
|
|
|
| ~~~~
|
2020-11-04 12:34:12 +01:00
|
|
|
4 | }
|