Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: X10 2.0.4
-
Fix Version/s: X10 2.3.2
-
Component/s: X10 Compiler: Front-end, X10 Compiler: Front-end Usability
-
Labels:None
-
Number of attachments :
Description
Our general framework is:
AST node -> instance/type -> def
E.g.,
X10CanonicalTypeNode_c -> X10ParsedClassType_c/ConstrainedType_c -> X10ClassDef_c
The position info of instance/type should be those of the AST node,
but they are copied from the def in:
asType() and asInstance()
(e.g., ClassDef.asType())
We should either refactor so instance/type won't have position info,
or fix this bug (by creating instance from an AST node)