Skip to content

Commit 190dc6c

Browse files
committed
LEGO: check in for master to temporary branch.
1 parent 7611579 commit 190dc6c

File tree

6 files changed

+90
-36
lines changed

6 files changed

+90
-36
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>

src/loc/lcl/cht/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>

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2952,20 +2952,20 @@
29522952
</Str>
29532953
<Disp Icon="Str" />
29542954
</Item>
2955-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2955+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29562956
<Str Cat="Text">
2957-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2957+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29582958
<Tgt Cat="Text" Stat="Loc" Orig="New">
2959-
<Val><![CDATA[Proměnná klauzule catch nemůže mít anotaci typu.]]></Val>
2959+
<Val><![CDATA[Proměnná klauzule catch nemůže mít inicializátor.]]></Val>
29602960
</Tgt>
29612961
</Str>
29622962
<Disp Icon="Str" />
29632963
</Item>
2964-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2964+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29652965
<Str Cat="Text">
2966-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2966+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29672967
<Tgt Cat="Text" Stat="Loc" Orig="New">
2968-
<Val><![CDATA[Proměnná klauzule catch nemůže mít inicializátor.]]></Val>
2968+
<Val><![CDATA[Pokud se zadá typ proměnné klauzule catch, jeho anotace musí být any nebo unknown.]]></Val>
29692969
</Tgt>
29702970
</Str>
29712971
<Disp Icon="Str" />
@@ -10134,6 +10134,15 @@
1013410134
</Str>
1013510135
<Disp Icon="Str" />
1013610136
</Item>
10137+
<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">
10138+
<Str Cat="Text">
10139+
<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>
10140+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10141+
<Val><![CDATA[Odvozený typ {0} se odkazuje na typ s cyklickou strukturou, která se nedá triviálně serializovat. Musí se použít anotace typu.]]></Val>
10142+
</Tgt>
10143+
</Str>
10144+
<Disp Icon="Str" />
10145+
</Item>
1013710146
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1013810147
<Str Cat="Text">
1013910148
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2955,20 +2955,20 @@
29552955
</Str>
29562956
<Disp Icon="Str" />
29572957
</Item>
2958-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2958+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29592959
<Str Cat="Text">
2960-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2960+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29612961
<Tgt Cat="Text" Stat="Loc" Orig="New">
2962-
<Val><![CDATA[Une variable de clause catch ne peut pas avoir d'annotation de type.]]></Val>
2962+
<Val><![CDATA[Une variable de clause catch ne peut pas avoir d'initialiseur.]]></Val>
29632963
</Tgt>
29642964
</Str>
29652965
<Disp Icon="Str" />
29662966
</Item>
2967-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2967+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29682968
<Str Cat="Text">
2969-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2969+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29702970
<Tgt Cat="Text" Stat="Loc" Orig="New">
2971-
<Val><![CDATA[Une variable de clause catch ne peut pas avoir d'initialiseur.]]></Val>
2971+
<Val><![CDATA[L'annotation de type de variable de la clause catch doit être 'any' ou 'unknown' si elle est spécifiée.]]></Val>
29722972
</Tgt>
29732973
</Str>
29742974
<Disp Icon="Str" />
@@ -10137,6 +10137,15 @@
1013710137
</Str>
1013810138
<Disp Icon="Str" />
1013910139
</Item>
10140+
<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">
10141+
<Str Cat="Text">
10142+
<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>
10143+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10144+
<Val><![CDATA[Le type déduit de '{0}' référence un type avec une structure cyclique qui ne peut pas être sérialisée de manière triviale. Une annotation de type est nécessaire.]]></Val>
10145+
</Tgt>
10146+
</Str>
10147+
<Disp Icon="Str" />
10148+
</Item>
1014010149
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1014110150
<Str Cat="Text">
1014210151
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

src/loc/lcl/kor/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>

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,20 +2936,20 @@
29362936
</Str>
29372937
<Disp Icon="Str" />
29382938
</Item>
2939-
<Item ItemId=";Catch_clause_variable_cannot_have_a_type_annotation_1196" ItemType="0" PsrId="306" Leaf="true">
2939+
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
29402940
<Str Cat="Text">
2941-
<Val><![CDATA[Catch clause variable cannot have a type annotation.]]></Val>
2941+
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
29422942
<Tgt Cat="Text" Stat="Loc" Orig="New">
2943-
<Val><![CDATA[A variável de cláusula catch não pode ter uma anotação de tipo.]]></Val>
2943+
<Val><![CDATA[A variável de cláusula catch não pode ter um inicializador.]]></Val>
29442944
</Tgt>
29452945
</Str>
29462946
<Disp Icon="Str" />
29472947
</Item>
2948-
<Item ItemId=";Catch_clause_variable_cannot_have_an_initializer_1197" ItemType="0" PsrId="306" Leaf="true">
2948+
<Item ItemId=";Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196" ItemType="0" PsrId="306" Leaf="true">
29492949
<Str Cat="Text">
2950-
<Val><![CDATA[Catch clause variable cannot have an initializer.]]></Val>
2950+
<Val><![CDATA[Catch clause variable type annotation must be 'any' or 'unknown' if specified.]]></Val>
29512951
<Tgt Cat="Text" Stat="Loc" Orig="New">
2952-
<Val><![CDATA[A variável de cláusula catch não pode ter um inicializador.]]></Val>
2952+
<Val><![CDATA[A anotação de tipo de variável da cláusula catch precisa ser 'any' ou 'unknown' quando especificada.]]></Val>
29532953
</Tgt>
29542954
</Str>
29552955
<Disp Icon="Str" />
@@ -10115,6 +10115,15 @@
1011510115
</Str>
1011610116
<Disp Icon="Str" />
1011710117
</Item>
10118+
<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">
10119+
<Str Cat="Text">
10120+
<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>
10121+
<Tgt Cat="Text" Stat="Loc" Orig="New">
10122+
<Val><![CDATA[O tipo inferido '{0}' faz referência a um tipo com uma estrutura cíclica que não pode ser serializada trivialmente. Uma anotação de tipo é necessária.]]></Val>
10123+
</Tgt>
10124+
</Str>
10125+
<Disp Icon="Str" />
10126+
</Item>
1011810127
<Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true">
1011910128
<Str Cat="Text">
1012010129
<Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val>

0 commit comments

Comments
 (0)