Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: X10 2.1.0
-
Fix Version/s: X10 2.3.2
-
Component/s: X10 Compiler: Front-end Constraints
-
Labels:None
-
Number of attachments :
Description
X10ClassDef_c.classInvariant is wrong, i.e., it doesn't include X10ClassDecl_c.classInvariant.
I see similar code for traversing the superclass and superinterface in both:
X10ClassDecl_c.postBuildTypes and X10ClassDef_c.getRootClause()
However, no code piece actually adds X10ClassDecl_c.classInvariant to X10ClassDef_c.classInvariant
Also, there are circularity issues when calculating the real clause.
Finally, ConstrainedType_c doesn't pass its constraint to the fields in method fields
Issue Links
- is depended upon by
-
XTENLANG-2198
Asymetric treatment of constraints in Array
-
-
XTENLANG-2971
Umbrella language/front-end JIRA for X10 2.4
-
defer all non-critical 2.1.2 issues to 2.2.