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