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

9 lines
171 B
Kotlin

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