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,10 @@
annotation class TestAnnWithIntArray(val x: IntArray)
annotation class TestAnnWithStringArray(val x: Array<String>)
@TestAnnWithIntArray(intArrayOf(1, 2, 3))
@TestAnnWithStringArray(arrayOf("a", "b", "c"))
fun test1() {}
@TestAnnWithIntArray([4, 5, 6])
@TestAnnWithStringArray(["d", "e", "f"])
fun test2() {}