Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: X10 2.0.6
-
Fix Version/s: X10 2.4
-
Component/s: X10 Compiler: Front-end, X10 Compiler: Front-end Parser
-
Labels:None
-
Number of attachments :
Description
I think that all the following should compile, but I get parsing errors.
In general, I think that adding parenthesis should always be allowed.
class Bar {
var c1:Any{self!=null};
var c2:(Any){self!=null};
var c3:() => void{self!=null};
var c4:(() => void){self!=null};
var c5:() => Any{self!=null};
var c6:(() => Any){self!=null};
var c7:() => (Any{self!=null});
}
Bulk-assigning unscheduled issues to the next release.