Files
kotlin-fork/idea/testData/inspectionsLocal/conventionNameCalls/replaceCallWithBinaryOperator/equalsDoubleSmartCast3.kt
T

4 lines
137 B
Kotlin
Vendored

// FIX: Replace total order equality with IEEE 754 equality
fun test(a: Any, b: Any) =
a is Int && b is Double && a.<caret>equals(b)