Generate annotations for declarations in psi2ir

This commit is contained in:
Dmitry Petrov
2018-04-03 17:47:03 +03:00
parent c2dced775d
commit 57077a5eb8
35 changed files with 1522 additions and 45 deletions
@@ -0,0 +1,13 @@
annotation class A1(vararg val xs: Int)
annotation class A2(vararg val xs: String)
annotation class AA(vararg val xs: A1)
@A1(1, 2, 3)
@A2("a", "b", "c")
@AA(A1(4), A1(5), A1(6))
fun test1() {}
@A1()
@A2()
@AA()
fun test2() {}