mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +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.
16 lines
657 B
Plaintext
Vendored
16 lines
657 B
Plaintext
Vendored
package test
|
|
|
|
kotlin.annotation.annotation() internal final annotation class Anno : kotlin.Annotation {
|
|
/*primary*/ public constructor Anno(/*0*/ int: kotlin.Int, /*1*/ string: kotlin.String, /*2*/ double: kotlin.Double)
|
|
internal final val double: kotlin.Double
|
|
internal final fun <get-double>(): kotlin.Double
|
|
internal final val int: kotlin.Int
|
|
internal final fun <get-int>(): kotlin.Int
|
|
internal final val string: kotlin.String
|
|
internal final fun <get-string>(): kotlin.String
|
|
}
|
|
|
|
test.Anno(double = 3.14.toDouble(), int = 42, string = "OK") internal final class Class {
|
|
/*primary*/ public constructor Class()
|
|
}
|