0fbf648971
^KT-61599 Fixed
12 lines
193 B
Kotlin
12 lines
193 B
Kotlin
interface Foo {}
|
|
interface Bar {}
|
|
|
|
fun test(obj: Any) {
|
|
if (obj is Foo) {
|
|
if (obj is Bar) {
|
|
<expr>obj.consume(obj)</expr>
|
|
}
|
|
}
|
|
}
|
|
|
|
fun Bar.consume(obj: Foo) {} |