[FIR] Improve LOCAL_INTERFACE_NOT_ALLOWED message

This commit is contained in:
Kirill Rakhman
2023-12-21 14:55:03 +01:00
committed by Space Team
parent c8b965c102
commit 80d47d6483
@@ -1808,7 +1808,7 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
) // +
map.put(
LOCAL_INTERFACE_NOT_ALLOWED,
"''{0}'' is an interface, so it cannot be local. Try to use an anonymous object or abstract class instead.",
"Interface ''{0}'' cannot be local. Try to use an anonymous object or abstract class instead.",
TO_STRING
)