"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:
@@ -18,7 +18,7 @@ internal final class A {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
internal final annotation class ann : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class ann : kotlin.Annotation {
|
||||
public constructor ann(/*0*/ name: kotlin.String)
|
||||
internal final val name: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
@@ -4,7 +4,7 @@ internal val bas: () -> kotlin.Unit
|
||||
internal fun bar(/*0*/ a: kotlin.Any): () -> kotlin.Unit
|
||||
internal fun outer(): kotlin.Unit
|
||||
|
||||
internal final annotation class ann : kotlin.Annotation {
|
||||
kotlin.annotation.annotation() internal final annotation class ann : kotlin.Annotation {
|
||||
public constructor ann()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user