mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
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.
26 lines
723 B
Plaintext
Vendored
26 lines
723 B
Plaintext
Vendored
package test
|
|
|
|
internal final class A {
|
|
/*primary*/ public constructor A()
|
|
|
|
public companion object Companion {
|
|
/*primary*/ private constructor Companion()
|
|
|
|
kotlin.annotation.annotation() internal final annotation class Anno1 : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno1()
|
|
}
|
|
|
|
internal final class B {
|
|
/*primary*/ public constructor B()
|
|
|
|
kotlin.annotation.annotation() internal final annotation class Anno2 : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno2()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
test.A.Companion.Anno1() test.A.Companion.B.Anno2() internal final class C {
|
|
/*primary*/ public constructor C()
|
|
}
|