[FIR] Rename diagnostic renderers that insert quotes and fix some messages

#KT-62386
This commit is contained in:
Kirill Rakhman
2023-10-27 11:13:44 +02:00
committed by Space Team
parent 2613a337ae
commit 87563f3aea
4 changed files with 26 additions and 26 deletions
@@ -183,9 +183,9 @@ object FirJsErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
)
map.put(
JS_EXTERNAL_INHERITORS_ONLY,
"External ''{0}'' cannot be a parent of non-external ''{1}''.",
FirDiagnosticRenderers.RENDER_CLASS_OR_OBJECT_NAME,
FirDiagnosticRenderers.RENDER_CLASS_OR_OBJECT_NAME
"External {0} cannot be a parent of non-external {1}.",
FirDiagnosticRenderers.RENDER_CLASS_OR_OBJECT_NAME_QUOTED,
FirDiagnosticRenderers.RENDER_CLASS_OR_OBJECT_NAME_QUOTED
)
map.put(
JS_EXTERNAL_ARGUMENT,