"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:
Vendored
+1
-1
@@ -5,7 +5,7 @@ test.Anno(t = {"prosper"}) internal val bar: kotlin.Int = 42
|
||||
test.Anno(t = {}) internal fun baz(): kotlin.Unit
|
||||
test.Anno(t = {"live", "long"}) internal fun foo(): kotlin.Unit
|
||||
|
||||
internal final annotation class Anno : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class Anno : kotlin.Annotation {
|
||||
/*primary*/ public constructor Anno(/*0*/ vararg t: kotlin.String /*kotlin.Array<out kotlin.String>*/)
|
||||
internal final val t: kotlin.Array<out kotlin.String>
|
||||
internal final fun <get-t>(): kotlin.Array<out kotlin.String>
|
||||
|
||||
Reference in New Issue
Block a user