Parse enum arrays correctly

(cherry picked from commit 5f2b5cf)
This commit is contained in:
Yan Zhulanow
2016-10-04 20:55:52 +03:00
committed by Yan Zhulanow
parent f15f90a719
commit 82160bc86d
3 changed files with 24 additions and 5 deletions
@@ -0,0 +1,7 @@
package org.jetbrains.kotlin.annotation.processing.test.processor
enum class RGBColors { RED, GREEN, BLUE }
annotation class ColorsAnnotation(val colors: Array<RGBColors>)
@ColorsAnnotation(colors = arrayOf(RGBColors.BLUE, RGBColors.RED))
class Test