b97aaf0f71
Relates to #KT-32010
15 lines
217 B
Kotlin
Vendored
15 lines
217 B
Kotlin
Vendored
// PROBLEM: none
|
|
// 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 }
|
|
} |