-
Bug
-
Resolution: Fixed
-
P2
-
8, 8-repo-lambda
-
b87
-
Verified
The following program does not compile:
import java.util.*;
class Test {
Callable<Number> tasks = id(id(()->{ if (true) throw new java.io.IOException(); else return 0; }));
<Z> Z id(Z z) { return null; }
}
However, if the outer 'id' call is removed, the program compiles.
import java.util.*;
class Test {
Callable<Number> tasks = id(id(()->{ if (true) throw new java.io.IOException(); else return 0; }));
<Z> Z id(Z z) { return null; }
}
However, if the outer 'id' call is removed, the program compiles.