[JVM IR] Make upper bounds check recursive for ieee Equals.
Fixes KT-44402
This commit is contained in:
committed by
Alexander Udalov
parent
566f97ae3e
commit
965c118521
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user