Files
kotlin/compiler/testData/asJava/lightClasses/ideRegression/InheritingInterfaceDefaultImpls.kt
Pavel V. Talanov ec4da854b8 Codegen: fix NPE in NO_ANNOTATION_VISITOR
EA-100245 fixed
2017-04-18 14:59:49 +03:00

30 lines
340 B
Kotlin
Vendored

// p.Inheritor
package p
annotation class Anno(vararg val s: String)
annotation class Bueno(val anno: Anno)
class Inheritor: I, I2 {
fun f() {
}
override fun g() {
}
}
interface I : I1 {
fun g()
}
interface I1 {
@Bueno(Anno("G"))
fun foo() = "foo"
}
interface I2 {
@Anno("S")
fun bar() = "bar"
}