mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
18 lines
337 B
Kotlin
18 lines
337 B
Kotlin
package test
|
|
|
|
public trait DeeplySubstitutedClassParameter2: Object {
|
|
|
|
public trait Super<T>: Object {
|
|
public fun foo(t: T)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public trait Middle<E>: Super<E> {
|
|
}
|
|
|
|
public trait Sub: Middle<String> {
|
|
override fun foo(t: String)
|
|
}
|
|
}
|