Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.5, 1.7-beta-2
-
None
Description
def( int i, int j) = [0,0] works as a stand alone assignment, but it does not work in the initialization portion of a for. For example, while
for( (i, j)=[0,0]; i<10;
{i++; j++ }()){ ... }compiles
for( def( int i, int j)=[0,0]; i<10; {i++; j++ }
())
{ ... }does not.