Files
kotlin/compiler/testData/loadJava/compiledKotlin/annotations/AnnotationInAnnotationArguments.kt
Alexander Udalov d1df234cfe Support annotations as annotation arguments in reflection, add test
A follow-up to 281acb8 where this was supported in the compiler
2015-06-02 17:31:19 +03:00

13 lines
346 B
Kotlin
Vendored

// ALLOW_AST_ACCESS
package test
enum class E { ENTRY }
annotation class StringOptions(vararg val option: String)
annotation class EnumOption(val option: E)
annotation class OptionGroups(val o1: StringOptions, val o2: EnumOption)
OptionGroups(StringOptions("abc", "d", "ef"), EnumOption(E.ENTRY))
public class AnnotationInAnnotationArguments