Files
kotlin-fork/idea/testData/intentions/convertToScope/convertToApply/callExpression5.kt
T
2019-02-19 10:41:20 +03:00

17 lines
198 B
Kotlin
Vendored

// WITH_RUNTIME
class Foo {
fun foo(i: Int) {}
fun test(f: Foo) {
val f = Foo()<caret>
f.foo(1)
f.foo(2)
bar(2, this)
}
}
fun bar(i: Int, f: Foo) {}