mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
18 lines
337 B
Kotlin
18 lines
337 B
Kotlin
package test
|
|
|
|
public interface DeeplySubstitutedClassParameter2 {
|
|
|
|
public interface Super<T> {
|
|
public fun foo(t: T)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public interface Middle<E>: Super<E> {
|
|
}
|
|
|
|
public interface Sub: Middle<String> {
|
|
override fun foo(t: String)
|
|
}
|
|
}
|