mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Fixed error message.
This commit is contained in:
@@ -156,7 +156,7 @@ module ts {
|
||||
Catch_clause_variable_cannot_have_a_type_annotation: { code: 1196, category: DiagnosticCategory.Error, key: "Catch clause variable cannot have a type annotation." },
|
||||
Catch_clause_variable_cannot_have_an_initializer: { code: 1197, category: DiagnosticCategory.Error, key: "Catch clause variable cannot have an initializer." },
|
||||
An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: { code: 1198, category: DiagnosticCategory.Error, key: "An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive." },
|
||||
expected: { code: 1199, category: DiagnosticCategory.Error, key: "'}' expected." },
|
||||
Unterminated_Unicode_escape_sequence: { code: 1199, category: DiagnosticCategory.Error, key: "Unterminated Unicode escape sequence." },
|
||||
Duplicate_identifier_0: { code: 2300, category: DiagnosticCategory.Error, key: "Duplicate identifier '{0}'." },
|
||||
Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: { code: 2301, category: DiagnosticCategory.Error, key: "Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor." },
|
||||
Static_members_cannot_reference_class_type_parameters: { code: 2302, category: DiagnosticCategory.Error, key: "Static members cannot reference class type parameters." },
|
||||
|
||||
@@ -615,7 +615,7 @@
|
||||
"category": "Error",
|
||||
"code": 1198
|
||||
},
|
||||
"'}' expected.": {
|
||||
"Unterminated Unicode escape sequence.": {
|
||||
"category": "Error",
|
||||
"code": 1199
|
||||
},
|
||||
|
||||
@@ -848,7 +848,7 @@ module ts {
|
||||
pos++;
|
||||
}
|
||||
else {
|
||||
error(Diagnostics.expected); // '}' expected.
|
||||
error(Diagnostics.Unterminated_Unicode_escape_sequence);
|
||||
isInvalidExtendedEscape = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user