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

13 lines
173 B
Kotlin
Vendored

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