Files
kotlin-fork/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/NullableIntOverridesObject.kt
T

12 lines
140 B
Kotlin
Vendored

package test
interface A<T> {
fun foo(): T
}
open class B : A<Int?> {
override fun foo(): Int? = 42
}
abstract class C : A<Int?>