"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:
Mikhail Glukhikh
2015-06-26 16:30:20 +03:00
parent 7a6e5f66bd
commit 1eac4d67de
231 changed files with 1915 additions and 334 deletions
@@ -3,18 +3,18 @@ package test
internal fun bar(/*0*/ test.A() test.B() test.C() test.D() x: kotlin.Int): kotlin.Unit
internal fun foo(/*0*/ test.A() test.B() x: kotlin.Int, /*1*/ test.A() test.C() y: kotlin.Double, /*2*/ test.B() test.C() test.D() z: kotlin.String): kotlin.Unit
internal final annotation class A : kotlin.Annotation {
kotlin.annotation.annotation() internal final annotation class A : kotlin.Annotation {
/*primary*/ public constructor A()
}
internal final annotation class B : kotlin.Annotation {
kotlin.annotation.annotation() internal final annotation class B : kotlin.Annotation {
/*primary*/ public constructor B()
}
internal final annotation class C : kotlin.Annotation {
kotlin.annotation.annotation() internal final annotation class C : kotlin.Annotation {
/*primary*/ public constructor C()
}
internal final annotation class D : kotlin.Annotation {
kotlin.annotation.annotation() internal final annotation class D : kotlin.Annotation {
/*primary*/ public constructor D()
}