[FE 1.0] Fix remaining codegen spec tests
This commit is contained in:
committed by
Mikhael Bogdanov
parent
ee68962c02
commit
262c9e88d1
+1
-1
@@ -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
|
||||
|
||||
+2
-1
@@ -15,6 +15,7 @@ fun box(): String {
|
||||
false -> { "NOK" }
|
||||
!false -> { "OK" }
|
||||
!false -> { "NOK" }
|
||||
else -> { "NOK" }
|
||||
}
|
||||
return when2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user