Support object array annotation arguments in deserialization
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
import java.lang.annotation.ElementType
|
||||
|
||||
annotation class Anno(vararg t: ElementType)
|
||||
|
||||
Anno(ElementType.METHOD, ElementType.FIELD) fun foo() {}
|
||||
|
||||
Anno(ElementType.PACKAGE) val bar = 42
|
||||
|
||||
Anno() fun baz() {}
|
||||
Reference in New Issue
Block a user