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
+1
Original file line number
Diff line number
Diff line change
@@ -381,6 +381,7 @@ module ts {
381
381
const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN: {code: 4087,category: DiagnosticCategory.Error,key: "'const' enum member initializer was evaluated to disallowed value 'NaN'."},
382
382
Property_0_does_not_exist_on_const_enum_1: {code: 4088,category: DiagnosticCategory.Error,key: "Property '{0}' does not exist on 'const' enum '{1}'."},
383
383
let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: {code: 4089,category: DiagnosticCategory.Error,key: "'let' is not allowed to be used as a name in 'let' or 'const' declarations."},
384
+
Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: {code: 4090,category: DiagnosticCategory.Error,key: "Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."},
384
385
The_current_host_does_not_support_the_0_option: {code: 5001,category: DiagnosticCategory.Error,key: "The current host does not support the '{0}' option."},
385
386
Cannot_find_the_common_subdirectory_path_for_the_input_files: {code: 5009,category: DiagnosticCategory.Error,key: "Cannot find the common subdirectory path for the input files."},
tests/cases/compiler/constDeclarationShadowedByVarDeclaration.ts(7,9): error TS4090: Cannot initialize outer scoped variable 'x' in the same scope as block scoped declaration 'x'.
2
+
tests/cases/compiler/constDeclarationShadowedByVarDeclaration.ts(15,13): error TS4090: Cannot initialize outer scoped variable 'y' in the same scope as block scoped declaration 'y'.
3
+
tests/cases/compiler/constDeclarationShadowedByVarDeclaration.ts(22,7): error TS4090: Cannot initialize outer scoped variable 'z' in the same scope as block scoped declaration 'z'.
0 commit comments