Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: X10 1.7 - JVM hosted
-
Fix Version/s: X10 1.7.1 - JVM Hosted
-
Component/s: X10 Compiler: Front-end
-
Labels:None
-
Number of attachments :
Description
(Nate, this appears to be a different incarnation of the similar bug that you already fixed)
class P {}
public class AL[T] {
public def add(T) = {}
}
class PL extends AL[P] {
public def add(p:P) {
super.add(p);
}
}
x10c: classes\Bug.java:107: '.' expected
super).add$(p);
^
classes\Bug.java:107: <identifier> expected
super).add$(p);
^
classes\Bug.java:106: not a statement
((AL<P>)
^
Removed cast of super inserted by X10Boxer.java.