You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/diagnosticInformationMap.generated.ts
+7-1
Original file line number
Diff line number
Diff line change
@@ -328,6 +328,13 @@ module ts {
328
328
for_of_statements_are_only_available_when_targeting_ECMAScript_6_or_higher: {code: 2482,category: DiagnosticCategory.Error,key: "'for...of' statements are only available when targeting ECMAScript 6 or higher."},
329
329
The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation: {code: 2483,category: DiagnosticCategory.Error,key: "The left-hand side of a 'for...of' statement cannot use a type annotation."},
330
330
Export_declaration_conflicts_with_exported_declaration_of_0: {code: 2484,category: DiagnosticCategory.Error,key: "Export declaration conflicts with exported declaration of '{0}'"},
331
+
The_left_hand_side_of_a_for_of_statement_cannot_be_a_previously_defined_constant: {code: 2485,category: DiagnosticCategory.Error,key: "The left-hand side of a 'for...of' statement cannot be a previously defined constant."},
332
+
The_left_hand_side_of_a_for_in_statement_cannot_be_a_previously_defined_constant: {code: 2486,category: DiagnosticCategory.Error,key: "The left-hand side of a 'for...in' statement cannot be a previously defined constant."},
333
+
Invalid_left_hand_side_in_for_of_statement: {code: 2487,category: DiagnosticCategory.Error,key: "Invalid left-hand side in 'for...of' statement."},
334
+
The_right_hand_side_of_a_for_of_statement_must_have_a_Symbol_iterator_method_that_returns_an_iterator: {code: 2488,category: DiagnosticCategory.Error,key: "The right-hand side of a 'for...of' statement must have a '[Symbol.iterator]()' method that returns an iterator."},
335
+
The_iterator_returned_by_the_right_hand_side_of_a_for_of_statement_must_have_a_next_method: {code: 2489,category: DiagnosticCategory.Error,key: "The iterator returned by the right-hand side of a 'for...of' statement must have a 'next()' method."},
336
+
The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property: {code: 2490,category: DiagnosticCategory.Error,key: "The type returned by the 'next()' method of an iterator must have a 'value' property."},
337
+
The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: {code: 2491,category: DiagnosticCategory.Error,key: "The left-hand side of a 'for...in' statement cannot be a destructuring pattern."},
331
338
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
332
339
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: {code: 4002,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported class has or is using private name '{1}'."},
333
340
Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: {code: 4004,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported interface has or is using private name '{1}'."},
@@ -474,6 +481,5 @@ module ts {
474
481
yield_expressions_are_not_currently_supported: {code: 9000,category: DiagnosticCategory.Error,key: "'yield' expressions are not currently supported."},
475
482
Generators_are_not_currently_supported: {code: 9001,category: DiagnosticCategory.Error,key: "Generators are not currently supported."},
476
483
The_arguments_object_cannot_be_referenced_in_an_arrow_function_Consider_using_a_standard_function_expression: {code: 9002,category: DiagnosticCategory.Error,key: "The 'arguments' object cannot be referenced in an arrow function. Consider using a standard function expression."},
477
-
for_of_statements_are_not_currently_supported: {code: 9003,category: DiagnosticCategory.Error,key: "'for...of' statements are not currently supported."},
tests/cases/conformance/statements/for-inStatements/for-inStatementsDestructuring.ts(1,10): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
tests/cases/conformance/statements/for-inStatements/for-inStatementsDestructuring2.ts(1,10): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
tests/cases/conformance/statements/for-inStatements/for-inStatementsDestructuring3.ts(2,6): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
tests/cases/conformance/statements/for-inStatements/for-inStatementsDestructuring4.ts(2,6): error TS2491: The left-hand side of a 'for...in' statement cannot be a destructuring pattern.
tests/cases/conformance/es6/for-ofStatements/for-of14.ts(2,11): error TS2488: The right-hand side of a 'for...of' statement must have a '[Symbol.iterator]()' method that returns an iterator.
tests/cases/conformance/es6/for-ofStatements/for-of15.ts(2,11): error TS2490: The type returned by the 'next()' method of an iterator must have a 'value' property.
0 commit comments