Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt.after
T
2019-11-13 08:37:25 +09:00

12 lines
246 B
Plaintext
Vendored

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