mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
"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:
@@ -6,7 +6,7 @@ internal final class Some {
|
||||
test.Some.Companion.TestAnnotation() public companion object Companion {
|
||||
/*primary*/ private constructor Companion()
|
||||
|
||||
internal final annotation class TestAnnotation : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class TestAnnotation : kotlin.Annotation {
|
||||
/*primary*/ public constructor TestAnnotation()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user