"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
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal final annotation class `$$$$$$` : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class `$$$$$$` : kotlin.Annotation {
|
||||
/*primary*/ public constructor `$$$$$$`()
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ test.`$$$$$$`() internal final class A {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
|
||||
internal final annotation class `Anno$tation` : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class `Anno$tation` : kotlin.Annotation {
|
||||
/*primary*/ public constructor `Anno$tation`()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user