Fail on compilation errors in AbstractBytecodeTextTest

This commit is contained in:
Mikhael Bogdanov
2021-02-17 13:41:33 +01:00
parent 61fce74b76
commit 3d8e8dd3ba
11 changed files with 21 additions and 8 deletions
@@ -1,7 +1,7 @@
// IGNORE_BACKEND: JVM
fun test(x: Int): String {
when {
return when {
x == 1 || x == 3 || x == 5 -> "135"
x == 2 || x == 4 || x == 6 -> "246"
else -> "other"