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