mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 15:51:01 +00:00
10 lines
145 B
Kotlin
Vendored
10 lines
145 B
Kotlin
Vendored
val (abc, def) = A()
|
|
|
|
val rv = abc + def
|
|
|
|
class A {
|
|
operator fun component1() = 123
|
|
operator fun component2() = 2
|
|
}
|
|
|
|
// expected: rv: 125 |