blob: ae2726e2b64c1c674f8f6c2ed72d755926837bfe [file]
interface IA
interface IB
object A : IA {
fun B.foo() { }
}
object B : IB
fun test(a: IA, b: IB) {
with(a) lambda1@{
with(b) lambda2@{
if (this@lambda1 is A && this@lambda2 is B) {
<!DEBUG_INFO_IMPLICIT_RECEIVER_SMARTCAST!>foo<!>()
}
}
}
}