Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt
T

9 lines
172 B
Kotlin
Vendored

// "Create member function 'foo'" "true"
class A<T>(val n: T) {
fun foo(a: Int): A<T> = throw Exception()
}
fun test() {
val a: A<Int> = A(1).foo(2, <caret>"2")
}