[JVM IR] Make upper bounds check recursive for ieee Equals.

Fixes KT-44402
This commit is contained in:
Mads Ager
2021-03-04 15:56:50 +01:00
committed by Alexander Udalov
parent 566f97ae3e
commit 965c118521
10 changed files with 53 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
fun <A: Double, B: A> f(a: Double, b: B) = a == b
fun box(): String {
if (f(0.1, 0.2)) return "FAIL"
return "OK"
}