[FE 1.0] Fix remaining codegen spec tests

This commit is contained in:
Dmitriy Novozhilov
2021-07-27 10:10:03 +03:00
committed by Mikhael Bogdanov
parent ee68962c02
commit 262c9e88d1
5 changed files with 9 additions and 5 deletions
@@ -1 +1 @@
java.lang.IllegalStateException: NO_ELSE_IN_WHEN: 'when' expression must be exhaustive, add necessary 'false' branch or 'else' branch instead (15,17) in /1.2.kt
java.lang.IllegalStateException: NO_ELSE_IN_WHEN: 'when' expression must be exhaustive, add necessary 'true', 'false' branches or 'else' branch instead (15,17) in /1.2.kt
@@ -15,6 +15,7 @@ fun box(): String {
false -> { "NOK" }
!false -> { "OK" }
!false -> { "NOK" }
else -> { "NOK" }
}
return when2
}
}