Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createFunction/call/extensionByExtensionReceiver/extensionLambda.kt
T
2016-07-20 15:39:09 +03:00

13 lines
171 B
Kotlin
Vendored

// "Create extension function 'foo'" "true"
// WITH_RUNTIME
fun bar(b: Boolean) {
}
class A(val n: Int)
fun test() {
with(A(1)) {
bar(<caret>foo(n))
}
}