1a630773cf
Otherwise, exception is thrown during type inference because default implementations effectively return null ^KT-29287 Fixed
9 lines
208 B
Java
Vendored
9 lines
208 B
Java
Vendored
package test;
|
|
import foo.A;
|
|
|
|
public class ThrowsOnGenericMethod {
|
|
public static void main(String[] args) {
|
|
new A().<error descr="Unhandled exception: java.io.IOException">foo</error>("");
|
|
}
|
|
}
|