Skip to content

Commit 3f10a12

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent 6c11ceb commit 3f10a12

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2943,20 +2943,20 @@
29432943
</Str>
29442944
<Disp Icon="Str" />
29452945
</Item>
2946-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2946+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29472947
<Str Cat="Text">
2948-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2948+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29492949
<Tgt Cat="Text" Stat="Loc" Orig="New">
2950-
<Val><![CDATA[Catch 子句变量不能有类型批注。]]></Val>
2950+
<Val><![CDATA[Catch 子句变量不能有初始化表达式。]]></Val>
29512951
</Tgt>
29522952
</Str>
29532953
<Disp Icon="Str" />
29542954
</Item>
2955-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2955+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29562956
<Str Cat="Text">
2957-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2957+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29582958
<Tgt Cat="Text" Stat="Loc" Orig="New">
2959-
<Val><![CDATA[Catch 子句变量不能有初始化表达式。]]></Val>
2959+
<Val><![CDATA[Catch 子句变量类型注释必须为 "any" 或 "unknown" (若已指定)。]]></Val>
29602960
</Tgt>
29612961
</Str>
29622962
<Disp Icon="Str" />
@@ -10125,6 +10125,15 @@
1012510125
</Str>
1012610126
<Disp Icon="Str" />
1012710127
</Item>
10128+
<Item ItemId=";The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088" ItemType="0" PsrId="306" Leaf="true">
10129+
<Str Cat="Text">
10130+
<Val><![CDATA[The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.]]></Val>
10131+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10132+
<Val><![CDATA[推断类型“{0}”引用的类型具有无法简单序列化的循环结构。必须具有类型注释。]]></Val>
10133+
</Tgt>
10134+
</Str>
10135+
<Disp Icon="Str" />
10136+
</Item>
1012810137
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1012910138
<Str Cat="Text">
1013010139
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

0 commit comments

Comments
 (0)