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