Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/inlineClasses/defaultInterfaceMethodsInInlineClass.kt
T

9 lines
197 B
Kotlin
Vendored

interface IFoo<T> {
fun foo(x: T): String = "OK"
fun T.bar(): String = "OK"
fun withDefault(x: T, y: Int = 42): String = "OK"
}
inline class L(val x: Long) : IFoo<L>
class X : IFoo<L>