bd467f39d6
#KT-28698 Fixed
14 lines
171 B
Kotlin
Vendored
14 lines
171 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class Foo {
|
|
fun foo(i: Int) {}
|
|
}
|
|
|
|
fun bar(i: Int, f: Foo) {}
|
|
|
|
fun test(f: Foo) {
|
|
val f2 = Foo()
|
|
f.foo(1)<caret>
|
|
bar(2, f)
|
|
bar(3, f2)
|
|
} |