Files
kotlin-fork/idea/testData/intentions/convertToScope/convertToApply/callExpression.kt
T
2019-02-01 12:13:05 +03:00

15 lines
183 B
Kotlin
Vendored

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