[IR] Extend test coverage for smart cast handling.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun test(x: Any?, y: Double) =
|
||||
x is Int && x < y
|
||||
|
||||
fun box(): String =
|
||||
if (!test(0, -0.0))
|
||||
"OK"
|
||||
else
|
||||
"Failed"
|
||||
Reference in New Issue
Block a user