mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
9 lines
196 B
Kotlin
9 lines
196 B
Kotlin
// "Create function 'component3'" "true"
|
|
class Foo<T> {
|
|
fun component1(): Int { return 0 }
|
|
fun component2(): Int { return 0 }
|
|
}
|
|
fun foo() {
|
|
val (a, b, c: String) = Foo<caret><Int>()
|
|
}
|