Files
kotlin-fork/idea/testData/inspectionsLocal/convertNaNEquality/negative.kt
T

12 lines
128 B
Kotlin
Vendored

// WITH_RUNTIME
// PROBLEM: none
class A {
val NaN = 0.3
}
fun test() {
val a = A()
val t = a.NaN ==<caret> 0.5
}