Files
kotlin-fork/idea/testData/intentions/destructuringVariables/withModifiers.kt.after
T
2016-10-06 21:16:46 +03:00

10 lines
152 B
Plaintext
Vendored

data class XY(val x: Int, val y: Int)
fun create() = XY(1, 2)
annotation class Ann
fun use(): Int {
@Ann val (x, y) = create()
return x + y
}