Files
kotlin-fork/idea/testData/quickfix/createFromUsage/component/beforeCreateComponentFromUsage2.kt
T
2013-05-12 23:50:36 -04:00

9 lines
205 B
Kotlin

// "Create method 'component3' from usage" "true"
class Foo<T> {
fun component1(): Int { return 0 }
fun component2(): Int { return 0 }
}
fun foo() {
val (a, b, c: String) = Foo<caret><Int>()
}