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