mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
16 lines
320 B
Kotlin
16 lines
320 B
Kotlin
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
public interface ChangeProjectionKind1 {
|
|
|
|
public interface Super {
|
|
public fun foo(p: MutableList<in String>)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public interface Sub: Super {
|
|
override fun foo(p: MutableList<in String>)
|
|
}
|
|
}
|