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

11 lines
284 B
Plaintext
Vendored

// "Create member function 'A.foo'" "true"
class A<T>(val n: T) {
fun foo(i: Int, s: String): A<Int> {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun <U> A<U>.test(): A<Int> {
return this.foo(2, "2")
}