Do not produce error classes for not found annotations
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
public interface A {
|
||||
@interface Anno {
|
||||
String value();
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package test;
|
||||
|
||||
@A.Anno("B")
|
||||
public interface B {
|
||||
@A.Anno("foo")
|
||||
<T> T foo(T t);
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
OK
|
||||
compiler/testData/compileKotlinAgainstCustomBinaries/missingDependencyJavaNestedAnnotation/source.kt
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
package c
|
||||
|
||||
import test.B
|
||||
|
||||
// There should be _no_ error despite the fact that B and B#foo are annotated with an annotation which cannot be resolved
|
||||
fun bar(b: B) {
|
||||
b.foo("")
|
||||
}
|
||||
Reference in New Issue
Block a user