Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/funExtraArgs.kt.after
2016-07-20 15:39:19 +03:00

12 lines
318 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 implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun test() {
val a: A<Int> = A(1).foo(2, "2")
}