[FIR] Improve ASSIGNMENT_OPERATOR_SHOULD_RETURN_UNIT message
This commit is contained in:
committed by
Space Team
parent
80d47d6483
commit
f4740e9e05
+1
-1
@@ -2374,7 +2374,7 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
|||||||
map.put(INC_DEC_SHOULD_NOT_RETURN_UNIT, "Functions 'inc()', 'dec()' shouldn't return 'Unit' to be used by operators ++, --.")
|
map.put(INC_DEC_SHOULD_NOT_RETURN_UNIT, "Functions 'inc()', 'dec()' shouldn't return 'Unit' to be used by operators ++, --.")
|
||||||
map.put(
|
map.put(
|
||||||
ASSIGNMENT_OPERATOR_SHOULD_RETURN_UNIT,
|
ASSIGNMENT_OPERATOR_SHOULD_RETURN_UNIT,
|
||||||
"Function ''{0}'' should return ''Unit'' to be used by corresponding operator ''{1}''.",
|
"Function ''{0}'' must return ''Unit'' to be used by corresponding operator ''{1}''.",
|
||||||
SYMBOL,
|
SYMBOL,
|
||||||
TO_STRING
|
TO_STRING
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user