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