Fix typo
This commit is contained in:
+1
-1
@@ -1734,7 +1734,7 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
)
|
||||
map.put(
|
||||
CONFUSING_BRANCH_CONDITION,
|
||||
"The logical expressions may be understood ambiguously in when with subject branches. Please wrap it with parenthesis"
|
||||
"The logical expressions may be understood ambiguously in when with subject branches. Please wrap it with parentheses"
|
||||
)
|
||||
|
||||
// Context tracking
|
||||
|
||||
+1
-1
@@ -860,7 +860,7 @@ public class DefaultErrorMessages {
|
||||
MAP.put(SENSELESS_NULL_IN_WHEN, "Expression under 'when' is never equal to null");
|
||||
|
||||
MAP.put(INVALID_IF_AS_EXPRESSION, "'if' must have both main and 'else' branches if used as an expression");
|
||||
MAP.put(CONFUSING_BRANCH_CONDITION, "The logical expressions may be understood ambiguously in when with subject branches. Please wrap it with parenthesis");
|
||||
MAP.put(CONFUSING_BRANCH_CONDITION, "The logical expressions may be understood ambiguously in when with subject branches. Please wrap it with parentheses");
|
||||
MAP.put(INVALID_IF_AS_EXPRESSION_WARNING, "'if' must have both main and 'else' branches if used as an expression. See https://youtrack.jetbrains.com/issue/KT-44705 for details");
|
||||
|
||||
MAP.put(OVERRIDING_FINAL_MEMBER, "''{0}'' in ''{1}'' is final and cannot be overridden", NAME, NAME);
|
||||
|
||||
Reference in New Issue
Block a user