5f7dee4194
#KT-29099 Fixed
15 lines
210 B
Plaintext
Vendored
15 lines
210 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
class Foo {
|
|
fun foo(i: Int) {}
|
|
|
|
fun test(f: Foo) {
|
|
val f = Foo().apply {
|
|
foo(1)
|
|
foo(2)
|
|
}
|
|
bar(2, this)
|
|
}
|
|
}
|
|
|
|
fun bar(i: Int, f: Foo) {} |