5fa1774cc1
#KT-1924 In Progress #KT-2830 Fixed
21 lines
440 B
Kotlin
21 lines
440 B
Kotlin
package test
|
|
|
|
public trait SubstitutedClassParameters: Object {
|
|
|
|
public trait Super1<T>: Object {
|
|
public fun foo(t: T)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public trait Super2<E>: Object {
|
|
public fun foo(t: E)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public trait Sub: Super1<String>, Super2<String> {
|
|
override fun foo(t: String)
|
|
}
|
|
}
|