Skip to content

Commit 3fd6f3a

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent 50866e1 commit 3fd6f3a

File tree

2 files changed

+159
-42
lines changed

2 files changed

+159
-42
lines changed

src/loc/lcl/csy/diagnosticMessages/diagnosticMessages.generated.json.lcl

+139-40
Original file line numberDiff line numberDiff line change
@@ -150,48 +150,33 @@
150150
</Str>
151151
<Disp Icon="Str" />
152152
</Item>
153-
<Item ItemId=";A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166" ItemType="0" PsrId="306" Leaf="true">
153+
<Item ItemId=";A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166" ItemType="0" PsrId="306" Leaf="true">
154154
<Str Cat="Text">
155-
<Val><![CDATA[A computed property name in a class property declaration must directly refer to a built-in symbol.]]></Val>
156-
<Tgt Cat="Text" Stat="Loc" Orig="New">
157-
<Val><![CDATA[Název počítané vlastnosti v deklaraci vlastnosti třídy musí přímo odkazovat na předdefinovaný symbol.]]></Val>
158-
</Tgt>
155+
<Val><![CDATA[A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val>
159156
</Str>
160157
<Disp Icon="Str" />
161158
</Item>
162-
<Item ItemId=";A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168" ItemType="0" PsrId="306" Leaf="true">
159+
<Item ItemId=";A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168" ItemType="0" PsrId="306" Leaf="true">
163160
<Str Cat="Text">
164-
<Val><![CDATA[A computed property name in a method overload must directly refer to a built-in symbol.]]></Val>
165-
<Tgt Cat="Text" Stat="Loc" Orig="New">
166-
<Val><![CDATA[Název počítané vlastnosti v přetížení metody musí přímo odkazovat na předdefinovaný symbol.]]></Val>
167-
</Tgt>
161+
<Val><![CDATA[A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val>
168162
</Str>
169163
<Disp Icon="Str" />
170164
</Item>
171-
<Item ItemId=";A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170" ItemType="0" PsrId="306" Leaf="true">
165+
<Item ItemId=";A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170" ItemType="0" PsrId="306" Leaf="true">
172166
<Str Cat="Text">
173-
<Val><![CDATA[A computed property name in a type literal must directly refer to a built-in symbol.]]></Val>
174-
<Tgt Cat="Text" Stat="Loc" Orig="New">
175-
<Val><![CDATA[Název počítané vlastnosti v literálu typu musí přímo odkazovat na předdefinovaný symbol.]]></Val>
176-
</Tgt>
167+
<Val><![CDATA[A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val>
177168
</Str>
178169
<Disp Icon="Str" />
179170
</Item>
180-
<Item ItemId=";A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165" ItemType="0" PsrId="306" Leaf="true">
171+
<Item ItemId=";A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165" ItemType="0" PsrId="306" Leaf="true">
181172
<Str Cat="Text">
182-
<Val><![CDATA[A computed property name in an ambient context must directly refer to a built-in symbol.]]></Val>
183-
<Tgt Cat="Text" Stat="Loc" Orig="New">
184-
<Val><![CDATA[Název počítané vlastnosti v ambientním kontextu musí přímo odkazovat na předdefinovaný symbol.]]></Val>
185-
</Tgt>
173+
<Val><![CDATA[A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val>
186174
</Str>
187175
<Disp Icon="Str" />
188176
</Item>
189-
<Item ItemId=";A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169" ItemType="0" PsrId="306" Leaf="true">
177+
<Item ItemId=";A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169" ItemType="0" PsrId="306" Leaf="true">
190178
<Str Cat="Text">
191-
<Val><![CDATA[A computed property name in an interface must directly refer to a built-in symbol.]]></Val>
192-
<Tgt Cat="Text" Stat="Loc" Orig="New">
193-
<Val><![CDATA[Název počítané vlastnosti v rozhraní musí přímo odkazovat na předdefinovaný symbol.]]></Val>
194-
</Tgt>
179+
<Val><![CDATA[A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val>
195180
</Str>
196181
<Disp Icon="Str" />
197182
</Item>
@@ -528,6 +513,18 @@
528513
</Str>
529514
<Disp Icon="Str" />
530515
</Item>
516+
<Item ItemId=";A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331" ItemType="0" PsrId="306" Leaf="true">
517+
<Str Cat="Text">
518+
<Val><![CDATA[A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.]]></Val>
519+
</Str>
520+
<Disp Icon="Str" />
521+
</Item>
522+
<Item ItemId=";A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330" ItemType="0" PsrId="306" Leaf="true">
523+
<Str Cat="Text">
524+
<Val><![CDATA[A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.]]></Val>
525+
</Str>
526+
<Disp Icon="Str" />
527+
</Item>
531528
<Item ItemId=";A_required_parameter_cannot_follow_an_optional_parameter_1016" ItemType="0" PsrId="306" Leaf="true">
532529
<Str Cat="Text">
533530
<Val><![CDATA[A required parameter cannot follow an optional parameter.]]></Val>
@@ -774,6 +771,12 @@
774771
</Str>
775772
<Disp Icon="Str" />
776773
</Item>
774+
<Item ItemId=";A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332" ItemType="0" PsrId="306" Leaf="true">
775+
<Str Cat="Text">
776+
<Val><![CDATA[A variable whose type is a 'unique symbol' type must be 'const'.]]></Val>
777+
</Str>
778+
<Disp Icon="Str" />
779+
</Item>
777780
<Item ItemId=";A_yield_expression_is_only_allowed_in_a_generator_body_1163" ItemType="0" PsrId="306" Leaf="true">
778781
<Str Cat="Text">
779782
<Val><![CDATA[A 'yield' expression is only allowed in a generator body.]]></Val>
@@ -2586,6 +2589,12 @@
25862589
</Str>
25872590
<Disp Icon="Str" />
25882591
</Item>
2592+
<Item ItemId=";Duplicate_declaration_0_2718" ItemType="0" PsrId="306" Leaf="true">
2593+
<Str Cat="Text">
2594+
<Val><![CDATA[Duplicate declaration '{0}'.]]></Val>
2595+
</Str>
2596+
<Disp Icon="Str" />
2597+
</Item>
25892598
<Item ItemId=";Duplicate_function_implementation_2393" ItemType="0" PsrId="306" Leaf="true">
25902599
<Str Cat="Text">
25912600
<Val><![CDATA[Duplicate function implementation.]]></Val>
@@ -2796,6 +2805,12 @@
27962805
</Str>
27972806
<Disp Icon="Str" />
27982807
</Item>
2808+
<Item ItemId=";Enable_strict_checking_of_property_initialization_in_classes_6187" ItemType="0" PsrId="306" Leaf="true">
2809+
<Str Cat="Text">
2810+
<Val><![CDATA[Enable strict checking of property initialization in classes.]]></Val>
2811+
</Str>
2812+
<Disp Icon="Str" />
2813+
</Item>
27992814
<Item ItemId=";Enable_strict_null_checks_6113" ItemType="0" PsrId="306" Leaf="true">
28002815
<Str Cat="Text">
28012816
<Val><![CDATA[Enable strict null checks.]]></Val>
@@ -2934,12 +2949,9 @@
29342949
</Str>
29352950
<Disp Icon="Str" />
29362951
</Item>
2937-
<Item ItemId=";Expected_0_arguments_but_got_a_minimum_of_1_2556" ItemType="0" PsrId="306" Leaf="true">
2952+
<Item ItemId=";Expected_0_arguments_but_got_1_or_more_2556" ItemType="0" PsrId="306" Leaf="true">
29382953
<Str Cat="Text">
2939-
<Val><![CDATA[Expected {0} arguments, but got a minimum of {1}.]]></Val>
2940-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2941-
<Val><![CDATA[Očekával se tento počet argumentů: {0}. Předalo se jich minimálně {1}.]]></Val>
2942-
</Tgt>
2954+
<Val><![CDATA[Expected {0} arguments, but got {1} or more.]]></Val>
29432955
</Str>
29442956
<Disp Icon="Str" />
29452957
</Item>
@@ -2970,12 +2982,9 @@
29702982
</Str>
29712983
<Disp Icon="Str" />
29722984
</Item>
2973-
<Item ItemId=";Expected_at_least_0_arguments_but_got_a_minimum_of_1_2557" ItemType="0" PsrId="306" Leaf="true">
2985+
<Item ItemId=";Expected_at_least_0_arguments_but_got_1_or_more_2557" ItemType="0" PsrId="306" Leaf="true">
29742986
<Str Cat="Text">
2975-
<Val><![CDATA[Expected at least {0} arguments, but got a minimum of {1}.]]></Val>
2976-
<Tgt Cat="Text" Stat="Loc" Orig="New">
2977-
<Val><![CDATA[Očekával se aspoň tento počet argumentů: {0}. Předalo se jich minimálně {1}.]]></Val>
2978-
</Tgt>
2987+
<Val><![CDATA[Expected at least {0} arguments, but got {1} or more.]]></Val>
29792988
</Str>
29802989
<Disp Icon="Str" />
29812990
</Item>
@@ -4131,6 +4140,15 @@
41314140
</Str>
41324141
<Disp Icon="Str" />
41334142
</Item>
4143+
<Item ItemId=";JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028" ItemType="0" PsrId="306" Leaf="true">
4144+
<Str Cat="Text">
4145+
<Val><![CDATA[JSDoc '...' may only appear in the last parameter of a signature.]]></Val>
4146+
<Tgt Cat="Text" Stat="Loc" Orig="New">
4147+
<Val><![CDATA[JSDoc ... se může nacházet jen v posledním parametru signatury.]]></Val>
4148+
</Tgt>
4149+
</Str>
4150+
<Disp Icon="Str" />
4151+
</Item>
41344152
<Item ItemId=";JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024" ItemType="0" PsrId="306" Leaf="true">
41354153
<Str Cat="Text">
41364154
<Val><![CDATA[JSDoc '@param' tag has name '{0}', but there is no parameter with that name.]]></Val>
@@ -4500,6 +4518,18 @@
45004518
</Str>
45014519
<Disp Icon="Str" />
45024520
</Item>
4521+
<Item ItemId=";Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101" ItemType="0" PsrId="306" Leaf="true">
4522+
<Str Cat="Text">
4523+
<Val><![CDATA[Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.]]></Val>
4524+
</Str>
4525+
<Disp Icon="Str" />
4526+
</Item>
4527+
<Item ItemId=";Method_0_of_exported_interface_has_or_is_using_private_name_1_4102" ItemType="0" PsrId="306" Leaf="true">
4528+
<Str Cat="Text">
4529+
<Val><![CDATA[Method '{0}' of exported interface has or is using private name '{1}'.]]></Val>
4530+
</Str>
4531+
<Disp Icon="Str" />
4532+
</Item>
45034533
<Item ItemId=";Modifiers_cannot_appear_here_1184" ItemType="0" PsrId="306" Leaf="true">
45044534
<Str Cat="Text">
45054535
<Val><![CDATA[Modifiers cannot appear here.]]></Val>
@@ -5424,6 +5454,12 @@
54245454
</Str>
54255455
<Disp Icon="Str" />
54265456
</Item>
5457+
<Item ItemId=";Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564" ItemType="0" PsrId="306" Leaf="true">
5458+
<Str Cat="Text">
5459+
<Val><![CDATA[Property '{0}' has no initializer and is not definitely assigned in the constructor.]]></Val>
5460+
</Str>
5461+
<Disp Icon="Str" />
5462+
</Item>
54275463
<Item ItemId=";Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033" ItemType="0" PsrId="306" Leaf="true">
54285464
<Str Cat="Text">
54295465
<Val><![CDATA[Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation.]]></Val>
@@ -5544,6 +5580,12 @@
55445580
</Str>
55455581
<Disp Icon="Str" />
55465582
</Item>
5583+
<Item ItemId=";Property_0_is_used_before_being_assigned_2565" ItemType="0" PsrId="306" Leaf="true">
5584+
<Str Cat="Text">
5585+
<Val><![CDATA[Property '{0}' is used before being assigned.]]></Val>
5586+
</Str>
5587+
<Disp Icon="Str" />
5588+
</Item>
55475589
<Item ItemId=";Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606" ItemType="0" PsrId="306" Leaf="true">
55485590
<Str Cat="Text">
55495591
<Val><![CDATA[Property '{0}' of JSX spread attribute is not assignable to target property.]]></Val>
@@ -5643,6 +5685,24 @@
56435685
</Str>
56445686
<Disp Icon="Str" />
56455687
</Item>
5688+
<Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098" ItemType="0" PsrId="306" Leaf="true">
5689+
<Str Cat="Text">
5690+
<Val><![CDATA[Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val>
5691+
</Str>
5692+
<Disp Icon="Str" />
5693+
</Item>
5694+
<Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099" ItemType="0" PsrId="306" Leaf="true">
5695+
<Str Cat="Text">
5696+
<Val><![CDATA[Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.]]></Val>
5697+
</Str>
5698+
<Disp Icon="Str" />
5699+
</Item>
5700+
<Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100" ItemType="0" PsrId="306" Leaf="true">
5701+
<Str Cat="Text">
5702+
<Val><![CDATA[Public method '{0}' of exported class has or is using private name '{1}'.]]></Val>
5703+
</Str>
5704+
<Disp Icon="Str" />
5705+
</Item>
56465706
<Item ItemId=";Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029" ItemType="0" PsrId="306" Leaf="true">
56475707
<Str Cat="Text">
56485708
<Val><![CDATA[Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val>
@@ -5670,6 +5730,24 @@
56705730
</Str>
56715731
<Disp Icon="Str" />
56725732
</Item>
5733+
<Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095" ItemType="0" PsrId="306" Leaf="true">
5734+
<Str Cat="Text">
5735+
<Val><![CDATA[Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val>
5736+
</Str>
5737+
<Disp Icon="Str" />
5738+
</Item>
5739+
<Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096" ItemType="0" PsrId="306" Leaf="true">
5740+
<Str Cat="Text">
5741+
<Val><![CDATA[Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.]]></Val>
5742+
</Str>
5743+
<Disp Icon="Str" />
5744+
</Item>
5745+
<Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097" ItemType="0" PsrId="306" Leaf="true">
5746+
<Str Cat="Text">
5747+
<Val><![CDATA[Public static method '{0}' of exported class has or is using private name '{1}'.]]></Val>
5748+
</Str>
5749+
<Disp Icon="Str" />
5750+
</Item>
56735751
<Item ItemId=";Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026" ItemType="0" PsrId="306" Leaf="true">
56745752
<Str Cat="Text">
56755753
<Val><![CDATA[Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val>
@@ -6456,6 +6534,12 @@
64566534
</Str>
64576535
<Disp Icon="Str" />
64586536
</Item>
6537+
<Item ItemId=";Subsequent_property_declarations_must_have_the_same_type_Property_0_has_type_1_at_2_but_here_has_typ_2717" ItemType="0" PsrId="306" Leaf="true">
6538+
<Str Cat="Text">
6539+
<Val><![CDATA[Subsequent property declarations must have the same type. Property '{0}' has type '{1}' at {2}, but here has type '{3}'.]]></Val>
6540+
</Str>
6541+
<Disp Icon="Str" />
6542+
</Item>
64596543
<Item ItemId=";Subsequent_variable_declarations_must_have_the_same_type_Variable_0_has_type_1_at_2_but_here_has_typ_2403" ItemType="0" PsrId="306" Leaf="true">
64606544
<Str Cat="Text">
64616545
<Val><![CDATA[Subsequent variable declarations must have the same type. Variable '{0}' has type '{1}' at {2}, but here has type '{3}'.]]></Val>
@@ -6678,12 +6762,9 @@
66786762
</Str>
66796763
<Disp Icon="Str" />
66806764
</Item>
6681-
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
6765+
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
66826766
<Str Cat="Text">
6683-
<Val><![CDATA[The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary.]]></Val>
6684-
<Tgt Cat="Text" Stat="Loc" Orig="New">
6685-
<Val><![CDATA[Odvozený typ {0} odkazuje na nepřístupný typ this. Musí se použít anotace typu.]]></Val>
6686-
</Tgt>
6767+
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>
66876768
</Str>
66886769
<Disp Icon="Str" />
66896770
</Item>
@@ -8733,6 +8814,24 @@
87338814
</Str>
87348815
<Disp Icon="Str" />
87358816
</Item>
8817+
<Item ItemId=";unique_symbol_types_are_not_allowed_here_1335" ItemType="0" PsrId="306" Leaf="true">
8818+
<Str Cat="Text">
8819+
<Val><![CDATA['unique symbol' types are not allowed here.]]></Val>
8820+
</Str>
8821+
<Disp Icon="Str" />
8822+
</Item>
8823+
<Item ItemId=";unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334" ItemType="0" PsrId="306" Leaf="true">
8824+
<Str Cat="Text">
8825+
<Val><![CDATA['unique symbol' types are only allowed on variables in a variable statement.]]></Val>
8826+
</Str>
8827+
<Disp Icon="Str" />
8828+
</Item>
8829+
<Item ItemId=";unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333" ItemType="0" PsrId="306" Leaf="true">
8830+
<Str Cat="Text">
8831+
<Val><![CDATA['unique symbol' types may not be used on a variable declaration with a binding name.]]></Val>
8832+
</Str>
8833+
<Disp Icon="Str" />
8834+
</Item>
87368835
<Item ItemId=";with_statements_are_not_allowed_in_an_async_function_block_1300" ItemType="0" PsrId="306" Leaf="true">
87378836
<Str Cat="Text">
87388837
<Val><![CDATA['with' statements are not allowed in an async function block.]]></Val>

0 commit comments

Comments
 (0)