// "Create extension function 'A.foo'" "true" // WITH_RUNTIME fun bar(b: Boolean) { } class A(val n: Int) fun test() { with(A(1)) { bar(foo(n)) } } private fun A.foo(n: Int): Boolean { TODO("not implemented") //To change body of created functions use File | Settings | File Templates. }