FIR: recursive transform annotation if it has annotation as argument

#KT-42344 Fixed
This commit is contained in:
Mikhail Glukhikh
2020-09-30 12:55:49 +03:00
parent 2fd752f8f6
commit 582f8fe287
6 changed files with 219 additions and 6 deletions
@@ -0,0 +1,17 @@
// FILE: Some.java
public class Some {
public static final String HELLO = "HELLO";
}
// FILE: AnnotationInAnnotation.kt
annotation class Storage(val value: String)
annotation class State(val name: String, val storages: Array<Storage>)
@State(
name = "1",
storages = [Storage(value = Some.HELLO)]
)
class Test