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