"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
@@ -8,12 +8,12 @@ test.StringArray(stringArray = {"java", ""}) internal final class C2 {
|
||||
public constructor C2()
|
||||
}
|
||||
|
||||
internal final annotation class JustString : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class JustString : kotlin.Annotation {
|
||||
public constructor JustString(/*0*/ string: kotlin.String)
|
||||
internal final val string: kotlin.String
|
||||
}
|
||||
|
||||
internal final annotation class StringArray : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class StringArray : kotlin.Annotation {
|
||||
public constructor StringArray(/*0*/ stringArray: kotlin.Array<kotlin.String>)
|
||||
internal final val stringArray: kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user