[FIR] Rename DUPLICATE_LABEL_IN_WHEN to DUPLICATE_BRANCH_CONDITION_IN_WHEN
... and fix the message #KT-35289 Fixed
This commit is contained in:
committed by
Space Team
parent
28eb78fe16
commit
8aa32d9f45
+1
-1
@@ -1470,7 +1470,7 @@ object DIAGNOSTICS_LIST : DiagnosticList("FirErrors") {
|
||||
parameter<String>("illegalReason")
|
||||
}
|
||||
val COMMA_IN_WHEN_CONDITION_WITHOUT_ARGUMENT by error<PsiElement>(PositioningStrategy.COMMAS)
|
||||
val DUPLICATE_LABEL_IN_WHEN by warning<KtElement>()
|
||||
val DUPLICATE_BRANCH_CONDITION_IN_WHEN by warning<KtElement>()
|
||||
val CONFUSING_BRANCH_CONDITION by deprecationError<PsiElement>(LanguageFeature.ProhibitConfusingSyntaxInWhenBranches)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user