[FIR] Properly support smartcasts on stable when subjects in when conditions
^KT-49860 Fixed
This commit is contained in:
committed by
teamcityserver
parent
20425fb458
commit
330574cab6
+1
-3
@@ -1,6 +1,4 @@
|
||||
// !LANGUAGE: +ProperIeee754Comparisons
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: Fail 1: other
|
||||
|
||||
fun testF(x: Any) =
|
||||
when (x) {
|
||||
@@ -24,4 +22,4 @@ fun box(): String {
|
||||
if (td != "0.0") return "Fail 2: $td"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user