Load annotations on compiled Kotlin enum entries
#KT-10339 Fixed
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
annotation class Anno(val value: String = "0", val x: Int = 0)
|
||||
annotation class Bnno
|
||||
|
||||
enum class Eee {
|
||||
@Anno()
|
||||
Entry1,
|
||||
Entry2,
|
||||
@Anno("3") @Bnno
|
||||
Entry3,
|
||||
@Anno("4", 4)
|
||||
Entry4,
|
||||
}
|
||||
Reference in New Issue
Block a user