1eac4d67de
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.
13 lines
667 B
Plaintext
Vendored
13 lines
667 B
Plaintext
Vendored
package test
|
|
|
|
test.Anno(t = {ElementType.PACKAGE}) internal val bar: kotlin.Int = 42
|
|
internal fun <get-bar>(): kotlin.Int
|
|
test.Anno(t = {}) internal fun baz(): kotlin.Unit
|
|
test.Anno(t = {ElementType.METHOD, ElementType.FIELD}) internal fun foo(): kotlin.Unit
|
|
|
|
kotlin.annotation.annotation() internal final annotation class Anno : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno(/*0*/ vararg t: java.lang.annotation.ElementType /*kotlin.Array<out java.lang.annotation.ElementType>*/)
|
|
internal final val t: kotlin.Array<out java.lang.annotation.ElementType>
|
|
internal final fun <get-t>(): kotlin.Array<out java.lang.annotation.ElementType>
|
|
}
|