1a630773cf
Otherwise, exception is thrown during type inference because default implementations effectively return null ^KT-29287 Fixed
10 lines
131 B
Kotlin
Vendored
10 lines
131 B
Kotlin
Vendored
package foo;
|
|
import java.io.IOException
|
|
|
|
class A {
|
|
@Throws(IOException::class)
|
|
fun <E> foo(y: E) {}
|
|
}
|
|
|
|
// ALLOW_AST_ACCESS
|