Psi2ir: ignore unresolved annotations
Note that the test is an exact copy of an existing test missingDependencyNestedAnnotation, but with -Xuse-ir
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
package a
|
||||
|
||||
interface A {
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE_PARAMETER)
|
||||
annotation class Anno(val value: String)
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package b
|
||||
|
||||
import a.A
|
||||
|
||||
@A.Anno("B")
|
||||
interface B {
|
||||
@A.Anno("foo")
|
||||
fun <@A.Anno("T") T> foo(t: T) = t
|
||||
}
|
||||
Reference in New Issue
Block a user