a1e86e8bfa
(cherry picked from commit a51d3fc)
9 lines
225 B
Kotlin
Vendored
9 lines
225 B
Kotlin
Vendored
// "Create member function 'Foo.component3'" "true"
|
|
class Foo<T> {
|
|
operator fun component1(): Int { return 0 }
|
|
operator fun component2(): Int { return 0 }
|
|
}
|
|
fun foo() {
|
|
val (a, b, c: String) = Foo<caret><Int>()
|
|
}
|