Codegen: fix NPE in NO_ANNOTATION_VISITOR
EA-100245 fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
public final class Inheritor implements p.I, p.I2 {
|
||||
public final void f() { /* compiled code */ }
|
||||
|
||||
public void g() { /* compiled code */ }
|
||||
|
||||
public Inheritor() { /* compiled code */ }
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
// 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"
|
||||
}
|
||||
Reference in New Issue
Block a user