In crack-0.8, the following code:
v := array[int](10);
for (i := 0; i < 10; i++)
v[i] += 12;
produces the following error message:
ParseError: test.crk:4:9: token += was not expected at this time, expected
semicolon or a block terminator
v[i] += 12;
^-
Note that the follow code works just fine:
v := array[int](10);
for (i := 0; i < 10; i++)
v[i] = v[i] + 12;
Original issue reported on code.google.com by goodwill...@googlemail.com on 29 Dec 2014 at 10:46
Original issue reported on code.google.com by
goodwill...@googlemail.com
on 29 Dec 2014 at 10:46