FIR checker: report SMARTCAST_IMPOSSIBLE for local variables

This commit is contained in:
Tianyu Geng
2021-05-13 17:23:18 -07:00
committed by TeamCityServer
parent 092750e215
commit 0ecc752813
38 changed files with 792 additions and 99 deletions
@@ -10,6 +10,6 @@ fun foo() {
i = null
}
}.bar()
i.hashCode()
<!SMARTCAST_IMPOSSIBLE!>i<!>.hashCode()
}
}