"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
@@ -8,12 +8,12 @@ test.EnumArray(enumArray = {Weapon.PAPER, Weapon.ROCK}) internal final class C2
public constructor C2()
}
internal final annotation class EnumArray : kotlin.Annotation {
kotlin.annotation.annotation() internal final annotation class EnumArray : kotlin.Annotation {
public constructor EnumArray(/*0*/ enumArray: kotlin.Array<test.Weapon>)
internal final val enumArray: kotlin.Array<test.Weapon>
}
internal final annotation class JustEnum : kotlin.Annotation {
kotlin.annotation.annotation() internal final annotation class JustEnum : kotlin.Annotation {
public constructor JustEnum(/*0*/ weapon: test.Weapon)
internal final val weapon: test.Weapon
}