"annotation" is now parsed as an identifier. It is no longer a soft keyword.
Sometimes it's allowed to parse "annotation" unescaped even if other annotations must be escaped. A set of annotations and their options tests. A swarm of existing tests fixed (mostly kotlin.annotation.annotation() added to txt-files). STUB_VERSION increased. Some quick fixes slightly changed.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import java.lang.annotation.*
|
||||
|
||||
annotation
|
||||
@java.lang.annotation.Retention(RetentionPolicy.CLASS)
|
||||
class my
|
||||
|
||||
annotation
|
||||
Retention(RetentionPolicy.RUNTIME)
|
||||
Target(ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR)
|
||||
class my1
|
||||
Reference in New Issue
Block a user