Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/OverrideInJava.kt
Alexander Udalov 713c6f13ae Fix primitive override problem in Kotlin-Java inheritance
See the comment in JetTypeMapper
2013-12-30 06:41:09 +04:00

8 lines
100 B
Kotlin

trait A<T> {
fun foo(): T
}
abstract class B : A<Int> {
override abstract fun foo(): Int
}