mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
8 lines
134 B
Kotlin
8 lines
134 B
Kotlin
data class XY(val x: Int, val y: Int)
|
|
|
|
fun create() = XY(1, 2)
|
|
|
|
fun use(): Int {
|
|
val <caret>xy = create()
|
|
return xy.x + xy.y
|
|
} |