[FIR] Improve NO_ELSE_IN_WHEN message
This commit is contained in:
committed by
Space Team
parent
d5ed922208
commit
14bdcbfecd
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user