4690a430f4
'DFANode' is not created for certain elements, such as types or references. Before the change, only the target element itself was queried for DFA, making the 'ContextCollector' return an empty map of smart casts. ^KTIJ-26973 Fixed
13 lines
179 B
Kotlin
Vendored
13 lines
179 B
Kotlin
Vendored
fun test(a: Any) {
|
|
if (a !is Foo) {
|
|
return
|
|
}
|
|
|
|
<expr>check</expr>(a.process())
|
|
}
|
|
|
|
fun check(condition: Boolean) {}
|
|
|
|
interface Foo {
|
|
fun process(): Boolean
|
|
} |