Fix apostrophes in error messages #KT-50183 Fixed
This commit is contained in:
+3
-3
@@ -110,14 +110,14 @@ object FirJvmErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
)
|
||||
map.put(DEPRECATED_JAVA_ANNOTATION, "This annotation is deprecated in Kotlin. Use ''@{0}'' instead", TO_STRING)
|
||||
map.put(POSITIONED_VALUE_ARGUMENT_FOR_JAVA_ANNOTATION, "Only named arguments are available for Java annotations")
|
||||
map.put(JVM_PACKAGE_NAME_CANNOT_BE_EMPTY, "''@JvmPackageName'' annotation value cannot be empty")
|
||||
map.put(JVM_PACKAGE_NAME_CANNOT_BE_EMPTY, "'@JvmPackageName' annotation value cannot be empty")
|
||||
map.put(
|
||||
JVM_PACKAGE_NAME_MUST_BE_VALID_NAME,
|
||||
"''@JvmPackageName'' annotation value must be a valid dot-qualified name of a package"
|
||||
"'@JvmPackageName' annotation value must be a valid dot-qualified name of a package"
|
||||
)
|
||||
map.put(
|
||||
JVM_PACKAGE_NAME_NOT_SUPPORTED_IN_FILES_WITH_CLASSES,
|
||||
"''@JvmPackageName'' annotation is not supported for files with class declarations"
|
||||
"'@JvmPackageName' annotation is not supported for files with class declarations"
|
||||
)
|
||||
map.put(
|
||||
SUPER_CALL_WITH_DEFAULT_PARAMETERS,
|
||||
|
||||
+2
-2
@@ -1713,7 +1713,7 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
map.put(DUPLICATE_LABEL_IN_WHEN, "Duplicate label in when")
|
||||
map.put(
|
||||
ILLEGAL_DECLARATION_IN_WHEN_SUBJECT,
|
||||
"Illegal variable declaration in 'when' subject: {0}. Should be a simple val with an initializer",
|
||||
"Illegal variable declaration in ''when'' subject: {0}. Should be a simple val with an initializer",
|
||||
STRING
|
||||
)
|
||||
map.put(
|
||||
@@ -1957,7 +1957,7 @@ object FirErrorsDefaultMessages : BaseDiagnosticRendererFactory() {
|
||||
// Label
|
||||
map.put(
|
||||
REDUNDANT_LABEL_WARNING,
|
||||
"Label is redundant, because it can not be referenced in either ''break'', ''continue'', or ''return'' expression"
|
||||
"Label is redundant, because it can not be referenced in either 'break', 'continue', or 'return' expression"
|
||||
)
|
||||
|
||||
// Extended checkers group
|
||||
|
||||
Reference in New Issue
Block a user