"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:
+2
-2
@@ -6,14 +6,14 @@ internal final class A {
|
||||
public companion object Companion {
|
||||
/*primary*/ private constructor Companion()
|
||||
|
||||
internal final annotation class Anno1 : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class Anno1 : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno1()
|
||||
}
|
||||
|
||||
internal final class B {
|
||||
/*primary*/ public constructor B()
|
||||
|
||||
internal final annotation class Anno2 : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class Anno2 : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno2()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user