"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:
+1
-1
@@ -5,7 +5,7 @@ test.A(s = "2") internal var v: kotlin.Int
|
||||
kotlin.platform.platformName(name = "vset") test.A(s = "4") internal fun <set-v>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
kotlin.platform.platformName(name = "bar") test.A(s = "1") internal fun foo(): kotlin.String
|
||||
|
||||
internal final annotation class A : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class A : kotlin.Annotation {
|
||||
/*primary*/ public constructor A(/*0*/ s: kotlin.String)
|
||||
internal final val s: kotlin.String
|
||||
internal final fun <get-s>(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user