Use NoScopeRecordCliBindingTrace for codegen tests

This commit is contained in:
Dmitry Petrov
2018-02-13 17:50:53 +03:00
parent 10916b2046
commit 8bfbbe456f
31 changed files with 1013 additions and 41 deletions
+7 -4
View File
@@ -1,3 +1,6 @@
// !LANGUAGE: -ProperIeee754Comparisons
// IGNORE_BACKEND: JS
fun box(): String {
val plusZero: Any = 0.0
val minusZero: Any = -0.0
@@ -7,18 +10,18 @@ fun box(): String {
return "fail 1"
}
plusZero > minusZero -> {
return "fail 2"
}
plusZero > minusZero -> {}
else -> {
return "fail 2"
}
}
when {
plusZero == minusZero -> {
return "fail 3"
}
else -> return "fail 3"
else -> {}
}
}