Files
kotlin-fork/compiler/testData/codegen/box/ieee754/lessDouble_properIeeeAndNewInference.kt
T
Mikhail Zarechenskiy bcc720f1db [NI] Run arguments checker before outer call checker
This is needed because arguments checker updates unsubstituted and
 non-denotable types (type variables, IntegerValueType...)

 #KT-28718 Fixed
2019-01-15 13:14:41 +03:00

9 lines
164 B
Kotlin
Vendored

// !LANGUAGE: +ProperIeee754Comparisons +NewInference
fun box(): String {
if (-0.0 < 0.0) return "Fail 1"
if (-0.0 < 0) return "Fail 2"
return "OK"
}