Files
kotlin-fork/compiler/testData/serialization/annotationArguments/string.kt
T
Alexander Udalov 63bfa004fd Introduce binary representation for annotations
Will be used where annotations can't be stored elsewhere: for example,
built-ins, JS, type annotations on JDK<8
2014-12-03 16:10:19 +03:00

13 lines
217 B
Kotlin

package test
annotation class JustString(val string: String)
annotation class StringArray(val stringArray: Array<String>)
JustString("kotlin")
StringArray(array())
class C1
StringArray(array("java", ""))
class C2