Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/extensionFunOnTrait.kt.after
T
2015-05-13 16:13:13 +02:00

12 lines
290 B
Plaintext
Vendored

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