AnnotationTarget.PACKAGE was dropped

This commit is contained in:
Mikhail Glukhikh
2015-09-02 18:09:43 +03:00
parent c836060f3a
commit 699f1e0a70
13 changed files with 4 additions and 35 deletions
@@ -1,5 +0,0 @@
@pck package test;
@pck class My {
}
@@ -1,2 +0,0 @@
package-info.java:3:1:compiler.err.annotation.type.not.applicable
@@ -1,4 +0,0 @@
package test
target(AnnotationTarget.PACKAGE)
annotation class pck
@@ -1,8 +0,0 @@
package test
test.pck() public/*package*/ interface `package-info` {
}
kotlin.annotation.target(allowedTargets = {AnnotationTarget.PACKAGE}) kotlin.annotation.annotation() internal final class pck : kotlin.Annotation {
public constructor pck()
}
@@ -1,4 +1,4 @@
<!UNRESOLVED_REFERENCE!>myAnnotation<!> <!WRONG_MODIFIER_TARGET!>public<!> package illegal_modifiers
<!UNRESOLVED_REFERENCE, WRONG_ANNOTATION_TARGET!>myAnnotation<!> <!WRONG_MODIFIER_TARGET!>public<!> package illegal_modifiers
abstract class A() {
<!INCOMPATIBLE_MODIFIERS!>abstract<!> <!INCOMPATIBLE_MODIFIERS!>final<!> fun f()
@@ -31,7 +31,7 @@ public open class AnnotationTargets {
public constructor multiple()
}
kotlin.annotation.target(allowedTargets = {AnnotationTarget.PACKAGE}) public final class packag : kotlin.Annotation {
kotlin.annotation.target(allowedTargets = {}) public final class packag : kotlin.Annotation {
public constructor packag()
}