Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.6.5, 1.7-beta-2
-
Fix Version/s: 4.0
-
Component/s: Compiler, parser, parser-antlr, syntax
-
Labels:None
-
Number of attachments :
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.
Activity
blackdrag blackdrag
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Affects Version/s | 1.7-beta-2 [ 15540 ] | |
| Fix Version/s | 1.7-beta-x [ 15538 ] | |
| Component/s | syntax [ 11337 ] | |
| Affects Version/s | 1.6.5 [ 15539 ] | |
| Component/s | parser-antlr [ 11322 ] | |
| Component/s | parser [ 10441 ] |
blackdrag blackdrag
made changes -
| Fix Version/s | 1.8.x [ 15750 ] | |
| Fix Version/s | 2.x [ 17013 ] | |
| Fix Version/s | 1.7.x [ 15538 ] |
blackdrag blackdrag
made changes -
| Fix Version/s | 4.0 [ 18928 ] | |
| Fix Version/s | 1.8.x [ 15750 ] | |
| Fix Version/s | 2.x [ 17013 ] |