Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1
-
None
Description
The following scripts produce different results
x = 0; for(x : 1..2); return x
and
x = 0; for(x : 1..2){}; return x
The expected behaviour is that both scripts should return the same value of 2, i.e. the 'for' statement without a body should nevertheless update its iteration variable