1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/parser/tests/argumented_op_overloading_fn_decl_err.out

8 lines
292 B
Plaintext

vlib/v/parser/tests/argumented_op_overloading_fn_decl_err.vv:10:14: error: cannot overload `+=`, overload `+` and `+=` will be automatically generated
8 | }
9 |
10 | fn (p Point) += (q Point) Point {
| ~~
11 | return Point{p.x + q.x, p.y + q.y}
12 | }