-
Bug
-
Resolution: Fixed
-
P4
-
repo-amber
-
generic
-
generic
Consider the following program:
public class X {
public static void main(String args []) {
<T> int foo(T t) {
return 10;
}
}
}
The source position for the JCMethodDecl that corresponds to foo has its pos set to the co-ordinates of the <T>. It should actually be set to that of "foo".
public class X {
public static void main(String args []) {
<T> int foo(T t) {
return 10;
}
}
}
The source position for the JCMethodDecl that corresponds to foo has its pos set to the co-ordinates of the <T>. It should actually be set to that of "foo".