Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Cannot Reproduce
-
Affects Version/s: X10 1.7 - JVM hosted
-
Fix Version/s: X10 1.7.3
-
Component/s: Managed X10: Compiler Codegen
-
Labels:None
-
Number of attachments :
Description
class Bug {
class A[T] implements (nat,nat,nat)=>T {
incomplete public def set(v:T, i:int, j:int, k:int): T;
incomplete public def apply(i:int, j:int, k:int): T;
}
def foo(a:A[double]) {
a(0,0,0)++;
}
}
x10c: classes\Bug.java:120: cannot find symbol
symbol : class Fun_0_5
location: package x10.core.fun
}.apply(new x10.core.fun.Fun_0_5</* Join: { */Bug.
^
1 error
Breaks a number of test cases (incl performance tests) so designating a blocker.
I added function types with arity 4 through 9 to x10.runtime.17/src-java. Need to do the same for C++, though.