[FIR] Validate K2 diagnostic messages as a unit-test
This commit is contained in:
committed by
Space Team
parent
8096e94c88
commit
7545472dd3
-2
@@ -184,7 +184,5 @@ object FirJsErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
"Exported declaration contains non-consumable identifier '${0}', that can't be represented inside TS definitions and ESM",
|
||||
CommonRenderers.STRING,
|
||||
)
|
||||
|
||||
map.checkMissingMessages(FirJsErrors)
|
||||
}
|
||||
}
|
||||
-2
@@ -301,7 +301,5 @@ object FirJvmErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
TO_STRING,
|
||||
TO_STRING,
|
||||
)
|
||||
|
||||
map.checkMissingMessages(FirJvmErrors)
|
||||
}
|
||||
}
|
||||
-2
@@ -73,7 +73,5 @@ object FirNativeErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
map.put(INAPPLICABLE_EXACT_OBJC_NAME, "Exact @ObjCName is only applicable to classes, objects and interfaces")
|
||||
map.put(MISSING_EXACT_OBJC_NAME, "Exact @ObjCName is required to have an ObjC name")
|
||||
map.put(NON_LITERAL_OBJC_NAME_ARG, "@ObjCName accepts only literal string and boolean values")
|
||||
|
||||
map.checkMissingMessages(FirNativeErrors)
|
||||
}
|
||||
}
|
||||
|
||||
-2
@@ -2180,8 +2180,6 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
map.put(ASSIGNED_VALUE_IS_NEVER_READ, "Assigned value is never read")
|
||||
map.put(VARIABLE_INITIALIZER_IS_REDUNDANT, "Initializer is redundant")
|
||||
map.put(VARIABLE_NEVER_READ, "Variable is never read")
|
||||
|
||||
map.checkMissingMessages(FirErrors)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user