mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
16 lines
300 B
Kotlin
16 lines
300 B
Kotlin
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
public trait InheritNotVarargNotNull {
|
|
|
|
public trait Super {
|
|
public fun foo(p: Array<out String>)
|
|
|
|
public fun dummy() // to avoid loading as SAM interface
|
|
}
|
|
|
|
public trait Sub: Super {
|
|
override fun foo(p: Array<out String>)
|
|
}
|
|
}
|