[NI] Don't stop on a candidate with unstable smartcast error

#KT-36847 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-02-20 03:08:29 +03:00
parent 162a2d5851
commit 83824d0ba6
7 changed files with 86 additions and 100 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class Cls {
fun test(s: String) {
if (s.ext is B)
take(<!NI;SMARTCAST_IMPOSSIBLE, SMARTCAST_IMPOSSIBLE!>s.ext<!>)
take(<!OI;SMARTCAST_IMPOSSIBLE!>s.ext<!>)
}
}