[FIR] Improve NO_ELSE_IN_WHEN message

This commit is contained in:
Kirill Rakhman
2023-12-21 14:13:03 +01:00
committed by Space Team
parent d5ed922208
commit 14bdcbfecd
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
compiler/testData/cli/jvm/returnAsWhenKey.kt:4:5: error: 'when' expression must be exhaustive. Add the necessary 'true', 'false' branches or 'else' branch instead
compiler/testData/cli/jvm/returnAsWhenKey.kt:4:5: error: 'when' expression must be exhaustive. Add the 'true', 'false' branches or an 'else' branch.
when (true) {
^
COMPILATION_ERROR