Files
Simon Ogorodnik 513af2dfbc FIR. Refactor smart-cast representation in FIR tree
Make smart-casts non-transparent expression without delegation
to underlying FirQualifiedAccessExpression, as children delegation in
fir tree has unclear semantics
Remove two different kinds of tree nodes for smart-casts
2022-08-15 21:46:11 +00:00

10 lines
136 B
Kotlin
Vendored

interface Foo {
fun function()
}
fun foo(parameter: Any) {
if (parameter is Foo) {
<caret>parameter.function()
}
}