j2k: Adjust annotation converter to last changes
Only parameter named `value` can be marked vararg
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user