Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ByteOverridesObject.kt
2014-03-19 23:24:27 +04:00

12 lines
136 B
Kotlin

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