Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnTrait.kt.after
T
2016-07-20 15:39:13 +03:00

12 lines
261 B
Plaintext
Vendored

// "Create extension function 'T.foo'" "true"
interface T
fun test(t: T) {
val b: Boolean = t.foo("1", 2)
}
fun T.foo(s: String, i: Int): Boolean {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}