Files
pyos e54ef3bdb8 PSI2IR: ignore enum annotation arguments of error type
Similar to references to error type, this may happen if library A uses
an entity from library B annotated with an annotation from C, but A is
compiled without C on the classpath.
2019-12-26 10:10:29 +03:00

12 lines
194 B
Kotlin
Vendored

package b
import a.*
@Anno(E.ENTRY)
@Anno2(arrayOf(E.ENTRY))
open class B {
@Anno(E.ENTRY)
@Anno2(arrayOf(E.ENTRY))
fun <@Anno(E.ENTRY) @Anno2(arrayOf(E.ENTRY)) T> foo(t: T) = t
}