"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:
+3
-3
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
internal final annotation class AnnotationArray : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class AnnotationArray : kotlin.Annotation {
|
||||
public constructor AnnotationArray(/*0*/ annotationArray: kotlin.Array<test.JustAnnotation>)
|
||||
internal final val annotationArray: kotlin.Array<test.JustAnnotation>
|
||||
}
|
||||
@@ -13,11 +13,11 @@ test.AnnotationArray(annotationArray = {test.JustAnnotation(annotation = test.Em
|
||||
public constructor C2()
|
||||
}
|
||||
|
||||
internal final annotation class Empty : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class Empty : kotlin.Annotation {
|
||||
public constructor Empty()
|
||||
}
|
||||
|
||||
internal final annotation class JustAnnotation : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class JustAnnotation : kotlin.Annotation {
|
||||
public constructor JustAnnotation(/*0*/ annotation: test.Empty)
|
||||
internal final val annotation: test.Empty
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user