Use API_VERSION instead of LANGUAGE_VERSION in IEEE754 tests

See `ExpressionCodegen.genEqualsForExpressionsPreferIeee754Arithmetic`:
the behavior here actually depends on the API version, not any language
feature
This commit is contained in:
Alexander Udalov
2018-12-18 16:01:48 +01:00
parent 83528a75be
commit 0871a3cc4d
15 changed files with 34 additions and 25 deletions
@@ -1,5 +1,3 @@
// LANGUAGE_VERSION: 1.3
fun myEquals(a: Double?, b: Double?) = a == b
fun myEquals1(a: Double?, b: Double) = a == b
@@ -24,4 +22,4 @@ fun box(): String {
if (!myEquals0(0.0, 0.0)) return "fail 9"
return "OK"
}
}