5fa1774cc1
#KT-1924 In Progress #KT-2830 Fixed
19 lines
367 B
Kotlin
19 lines
367 B
Kotlin
package test
|
|
|
|
public trait DeeplySubstitutedClassParameter: 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> {
|
|
override fun foo(t: E)
|
|
}
|
|
|
|
public trait Sub: Middle<String> {
|
|
override fun foo(t: String)
|
|
}
|
|
}
|