Replace equals with == involving FP types: handle possible smart casts
This fixes two relevant tests with smart casts #KT-25933 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// FIX: Replace total order equality with IEEE 754 equality
|
||||
|
||||
fun <T> test(a: T, b: T) =
|
||||
a is Double && b is Double && a.<caret>equals(b)
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// FIX: Replace total order equality with IEEE 754 equality
|
||||
|
||||
fun <T> test(a: T, b: T) =
|
||||
a is Double && b is Double && a == b
|
||||
Reference in New Issue
Block a user