Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: X10 1.7 - JVM hosted
-
Fix Version/s: X10 1.7.3
-
Component/s: X10 Compiler: Front-end
-
Labels:None
-
Number of attachments :
Description
class D {}
class A[T](d:D) {
static type A[T](d:D) = A[T]{self.d==d};
incomplete static def make[T](d:D): A[T](d);
def this(d:D) = property(d);
}
class Bug {
val d: D = new D();
val a: A[int] = A.make[int](d);
}
inconvertible types
found : A<java.lang.Object>
required: A<java.lang.Integer>
A.make(x10.types.Types.INT,
Affects
Atomic/AtomicOrdered
Distribution/DistBounds2D
Distribution/DistBounds3D