-
Bug
-
Resolution: Unresolved
-
P4
-
repo-amber
-
generic
-
generic
To support forward references, a local method should always be assumed to be reachable:
The following does not compile as of now:
public class X {
{
throw new AssertionError("Blah");
int foo() {
int x = 19;
return x;
}
int y = 42;
}
public static void main(String args []) {
}
}
The following does not compile as of now:
public class X {
{
throw new AssertionError("Blah");
int foo() {
int x = 19;
return x;
}
int y = 42;
}
public static void main(String args []) {
}
}