blob: 81862c7002818c7f896fb2531afeca6bfa839aa4 [file] [log] [blame]
// IS_APPLICABLE: false
// WITH_RUNTIME
interface A
interface B : A {
val bar: Any?
}
class Foo {
private val a: A = object : A {}
val isB: Boolean
get() = a.let<caret> { it is B && it.bar != null }
}