j2k: Adjust annotation converter to last changes

Only parameter named `value` can be marked vararg
This commit is contained in:
Denis Zharkov
2015-04-07 11:19:36 +03:00
parent 37d7327482
commit f85e92a247
8 changed files with 83 additions and 19 deletions
@@ -0,0 +1,13 @@
annotation class Anon(public vararg val value: String, public val x: Int = 1)
Anon("a", "b")
trait I1
Anon("c", "d", x = 1)
trait I2
Anon("c", "d", x = 1)
trait I3
Anon(value = *array("c", "d"))
trait I4