Do not produce error classes for not found annotations

This commit is contained in:
Alexander Udalov
2016-03-21 18:54:29 +03:00
parent e915e1548c
commit 8d64ed7f3f
24 changed files with 147 additions and 61 deletions
@@ -0,0 +1,7 @@
package test;
public interface A {
@interface Anno {
String value();
}
}
@@ -0,0 +1,7 @@
package test;
@A.Anno("B")
public interface B {
@A.Anno("foo")
<T> T foo(T t);
}
@@ -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("")
}