@artel/artc 0.6.26017 → 0.6.26018
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Cli.js +3 -3
- package/build/api/Api.js +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +9 -13
- package/build/{chunk-UCBPXOLW.js → chunk-4LBH5LW4.js} +1 -1
- package/build/{chunk-SJFIPH42.js → chunk-NQCSWP3L.js} +961 -923
- package/build/{chunk-65XBWCU7.js → chunk-WVQAJC2B.js} +2 -2
- package/build/types/analysis/Analyzer.d.ts +3 -0
- package/build/types/analysis/BaseExpressionMeaning.d.ts +1 -0
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +0 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +177 -174
- package/build/types/project/CompilationLoader.d.ts +3 -3
- package/build/types/project/SourcePackage.d.ts +3 -0
- package/build/types/project/configuration/ConfigurationConverter.d.ts +3 -5
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +7 -6
- package/build/types/project/configuration/ConfigurationTranslator.d.ts +1 -3
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +1 -2
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +1 -2
- package/build/types/services/workspace/CompilationController.d.ts +2 -2
- package/package.json +1 -1
|
@@ -764,7 +764,7 @@ var UniqueWithComparatorQuery = class extends Query {
|
|
|
764
764
|
};
|
|
765
765
|
|
|
766
766
|
// source/common/Constants.ts
|
|
767
|
-
var ArtelVersion = true ? "0.6.
|
|
767
|
+
var ArtelVersion = true ? "0.6.26018" : "";
|
|
768
768
|
var ArtelSourceFileExtensions = [".\u0430\u0440\u0442", ".\u0430\u0440\u0442\u0435\u043B\u044C", ".art", ".artel", ".\u0430\u0440\u0442\u043C", ".\u0430\u0440\u0442\u0435\u043B\u044C\u043C", ".artm", ".artelm"];
|
|
769
769
|
var ArtelSourceFileExtensionSet = new Set(ArtelSourceFileExtensions);
|
|
770
770
|
var ArtelSourceAndConfigurationFileExtensionSet = new Set(ArtelSourceFileExtensionSet).add(".json");
|
|
@@ -9130,180 +9130,183 @@ var DiagnosticCode = /* @__PURE__ */ ((DiagnosticCode2) => {
|
|
|
9130
9130
|
DiagnosticCode2[DiagnosticCode2["TranslationsCanOnlyBeDeclaredInTranslationPackage"] = 2051] = "TranslationsCanOnlyBeDeclaredInTranslationPackage";
|
|
9131
9131
|
DiagnosticCode2[DiagnosticCode2["UnknownTranslatingPackage0"] = 2052] = "UnknownTranslatingPackage0";
|
|
9132
9132
|
DiagnosticCode2[DiagnosticCode2["BaseCannotBeUsedInThisContext"] = 2053] = "BaseCannotBeUsedInThisContext";
|
|
9133
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9134
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9135
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9136
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9137
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9138
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9139
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9140
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9141
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9142
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9143
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9144
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9145
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9146
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9147
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9148
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9149
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9150
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9151
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9152
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9153
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9154
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9155
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9156
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9157
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9158
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9159
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9160
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9161
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9162
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9163
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9164
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9165
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9166
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9167
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9168
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9169
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9170
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9171
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9172
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9173
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9174
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9175
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9176
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9177
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9178
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9179
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9180
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9181
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9182
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9183
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9184
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9185
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9186
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9187
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9188
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9189
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9190
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9191
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9192
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9193
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9194
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9195
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9196
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9197
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9198
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9199
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9200
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9201
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9202
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9203
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9204
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9205
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9206
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9207
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9208
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9209
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9210
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9211
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9212
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9213
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9214
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9215
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9216
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9217
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9218
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9219
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9220
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9221
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9222
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9223
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9224
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9225
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9226
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9227
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9228
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9229
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9230
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9231
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9232
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9233
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9234
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9235
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9236
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9237
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9238
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9239
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9240
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9241
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9242
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9243
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9244
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9245
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9246
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9247
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9248
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9249
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9250
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9251
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9252
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9253
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9254
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9255
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9256
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9257
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9258
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9259
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9260
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9261
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9262
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9263
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9264
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9265
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9266
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9267
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9268
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9269
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9270
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9271
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9272
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9273
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9274
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9275
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9276
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9277
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9278
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9279
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9280
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9281
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9282
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9283
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9284
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9285
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9286
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9287
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9288
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9289
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9290
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9291
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9292
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9293
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9294
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9295
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9296
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9297
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9298
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9299
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9300
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9301
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9302
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9303
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9304
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9305
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9306
|
-
DiagnosticCode2[DiagnosticCode2["
|
|
9133
|
+
DiagnosticCode2[DiagnosticCode2["BaseCannotBeUsedInStaticContext"] = 2054] = "BaseCannotBeUsedInStaticContext";
|
|
9134
|
+
DiagnosticCode2[DiagnosticCode2["OverriddenMethodNotFound"] = 2055] = "OverriddenMethodNotFound";
|
|
9135
|
+
DiagnosticCode2[DiagnosticCode2["ObjectCannotBeUsedInThisContext"] = 2056] = "ObjectCannotBeUsedInThisContext";
|
|
9136
|
+
DiagnosticCode2[DiagnosticCode2["ObjectCannotBeUsedInStaticContext"] = 2057] = "ObjectCannotBeUsedInStaticContext";
|
|
9137
|
+
DiagnosticCode2[DiagnosticCode2["OwnConstructorCannotBeCalledHere"] = 2058] = "OwnConstructorCannotBeCalledHere";
|
|
9138
|
+
DiagnosticCode2[DiagnosticCode2["BaseCannotBeUsedAsAnExpressionInItself"] = 2059] = "BaseCannotBeUsedAsAnExpressionInItself";
|
|
9139
|
+
DiagnosticCode2[DiagnosticCode2["InterfacePackageMustNotContainImplementation"] = 2060] = "InterfacePackageMustNotContainImplementation";
|
|
9140
|
+
DiagnosticCode2[DiagnosticCode2["InterfacePackageVariablesMustNotHaveInitializers"] = 2061] = "InterfacePackageVariablesMustNotHaveInitializers";
|
|
9141
|
+
DiagnosticCode2[DiagnosticCode2["BodyIsMissing"] = 2062] = "BodyIsMissing";
|
|
9142
|
+
DiagnosticCode2[DiagnosticCode2["AbstractTypeMembersMustNotHaveBody"] = 2063] = "AbstractTypeMembersMustNotHaveBody";
|
|
9143
|
+
DiagnosticCode2[DiagnosticCode2["MembersOfAspectTypeMustNotHaveBody"] = 2064] = "MembersOfAspectTypeMustNotHaveBody";
|
|
9144
|
+
DiagnosticCode2[DiagnosticCode2["AspectTypeFieldsMustBeAbstract"] = 2065] = "AspectTypeFieldsMustBeAbstract";
|
|
9145
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody"] = 2066] = "DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody";
|
|
9146
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeMembersMustNotHaveBody"] = 2067] = "ReducedTypeMembersMustNotHaveBody";
|
|
9147
|
+
DiagnosticCode2[DiagnosticCode2["AbstractFieldsMustNotHaveInitializers"] = 2068] = "AbstractFieldsMustNotHaveInitializers";
|
|
9148
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeFieldsMustNotHaveInitializers"] = 2069] = "ReducedTypeFieldsMustNotHaveInitializers";
|
|
9149
|
+
DiagnosticCode2[DiagnosticCode2["PackageIsAlreadyImported"] = 2070] = "PackageIsAlreadyImported";
|
|
9150
|
+
DiagnosticCode2[DiagnosticCode2["OnlySubprogramsWithReturnTypeCanReturnValue"] = 2071] = "OnlySubprogramsWithReturnTypeCanReturnValue";
|
|
9151
|
+
DiagnosticCode2[DiagnosticCode2["FunctionsUsingYieldStatementCannotReturnValue"] = 2072] = "FunctionsUsingYieldStatementCannotReturnValue";
|
|
9152
|
+
DiagnosticCode2[DiagnosticCode2["YieldStatementCannotBeUsedInAnonymousFunctions"] = 2073] = "YieldStatementCannotBeUsedInAnonymousFunctions";
|
|
9153
|
+
DiagnosticCode2[DiagnosticCode2["YieldStatementCannotBeUsedHere"] = 2074] = "YieldStatementCannotBeUsedHere";
|
|
9154
|
+
DiagnosticCode2[DiagnosticCode2["FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType"] = 2075] = "FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType";
|
|
9155
|
+
DiagnosticCode2[DiagnosticCode2["YieldStatementCannotBeUsedInTryStatementThatHasCatchClause"] = 2076] = "YieldStatementCannotBeUsedInTryStatementThatHasCatchClause";
|
|
9156
|
+
DiagnosticCode2[DiagnosticCode2["YieldStatementCannotBeUsedInFinallyBlock"] = 2077] = "YieldStatementCannotBeUsedInFinallyBlock";
|
|
9157
|
+
DiagnosticCode2[DiagnosticCode2["SubprogramMustReturnValue"] = 2078] = "SubprogramMustReturnValue";
|
|
9158
|
+
DiagnosticCode2[DiagnosticCode2["ResultVariableCannotBeUsedInFunctionsUsingYieldStatement"] = 2079] = "ResultVariableCannotBeUsedInFunctionsUsingYieldStatement";
|
|
9159
|
+
DiagnosticCode2[DiagnosticCode2["TypeAliasReferencesItself"] = 2080] = "TypeAliasReferencesItself";
|
|
9160
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeReferencesItself"] = 2081] = "ReducedTypeReferencesItself";
|
|
9161
|
+
DiagnosticCode2[DiagnosticCode2["TypeParameterHasCircularConstraint"] = 2082] = "TypeParameterHasCircularConstraint";
|
|
9162
|
+
DiagnosticCode2[DiagnosticCode2["BaseTypeCausesInheritanceCycle"] = 2083] = "BaseTypeCausesInheritanceCycle";
|
|
9163
|
+
DiagnosticCode2[DiagnosticCode2["OnlyGenericTypesAndFunctionsCanBeSpecialized"] = 2084] = "OnlyGenericTypesAndFunctionsCanBeSpecialized";
|
|
9164
|
+
DiagnosticCode2[DiagnosticCode2["Expected0TypeArguments"] = 2085] = "Expected0TypeArguments";
|
|
9165
|
+
DiagnosticCode2[DiagnosticCode2["ExpectedFrom0To1TypeArguments"] = 2086] = "ExpectedFrom0To1TypeArguments";
|
|
9166
|
+
DiagnosticCode2[DiagnosticCode2["Type0IsNotAssignableToConstraint1"] = 2087] = "Type0IsNotAssignableToConstraint1";
|
|
9167
|
+
DiagnosticCode2[DiagnosticCode2["VariableIsDeclaredButItsValueIsNeverRead"] = 2088] = "VariableIsDeclaredButItsValueIsNeverRead";
|
|
9168
|
+
DiagnosticCode2[DiagnosticCode2["FunctionIsDeclaredButNotUsed"] = 2089] = "FunctionIsDeclaredButNotUsed";
|
|
9169
|
+
DiagnosticCode2[DiagnosticCode2["TypeParameterIsDeclaredButNotUsed"] = 2090] = "TypeParameterIsDeclaredButNotUsed";
|
|
9170
|
+
DiagnosticCode2[DiagnosticCode2["DefaultConstructorArgumentsMustBeNamed"] = 2091] = "DefaultConstructorArgumentsMustBeNamed";
|
|
9171
|
+
DiagnosticCode2[DiagnosticCode2["IncorrectBodyOfBasicAliasTypeMethod"] = 2092] = "IncorrectBodyOfBasicAliasTypeMethod";
|
|
9172
|
+
DiagnosticCode2[DiagnosticCode2["TheFollowingDeclarationsAreNotTranslated0"] = 2093] = "TheFollowingDeclarationsAreNotTranslated0";
|
|
9173
|
+
DiagnosticCode2[DiagnosticCode2["TheFollowingDeclarationsAreNotTranslated0And1More"] = 2094] = "TheFollowingDeclarationsAreNotTranslated0And1More";
|
|
9174
|
+
DiagnosticCode2[DiagnosticCode2["TheFollowingTextsAreNotTranslated0"] = 2095] = "TheFollowingTextsAreNotTranslated0";
|
|
9175
|
+
DiagnosticCode2[DiagnosticCode2["TheFollowingTextsAreNotTranslated0And1More"] = 2096] = "TheFollowingTextsAreNotTranslated0And1More";
|
|
9176
|
+
DiagnosticCode2[DiagnosticCode2["OperatorFunction0MustNotHaveParameters"] = 2097] = "OperatorFunction0MustNotHaveParameters";
|
|
9177
|
+
DiagnosticCode2[DiagnosticCode2["OperatorFunction0MustHaveOneParameter"] = 2098] = "OperatorFunction0MustHaveOneParameter";
|
|
9178
|
+
DiagnosticCode2[DiagnosticCode2["OperatorFunction0MustHaveNoMoreThanOneParameter"] = 2099] = "OperatorFunction0MustHaveNoMoreThanOneParameter";
|
|
9179
|
+
DiagnosticCode2[DiagnosticCode2["CorrespondingBasicTypeMemberNotFound"] = 2100] = "CorrespondingBasicTypeMemberNotFound";
|
|
9180
|
+
DiagnosticCode2[DiagnosticCode2["AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier"] = 2101] = "AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier";
|
|
9181
|
+
DiagnosticCode2[DiagnosticCode2["TagNotFound"] = 2102] = "TagNotFound";
|
|
9182
|
+
DiagnosticCode2[DiagnosticCode2["TypeOrFunctionNameExpected"] = 2103] = "TypeOrFunctionNameExpected";
|
|
9183
|
+
DiagnosticCode2[DiagnosticCode2["PackageNameOrAliasExpected"] = 2104] = "PackageNameOrAliasExpected";
|
|
9184
|
+
DiagnosticCode2[DiagnosticCode2["ExpressionCanBeNull"] = 2105] = "ExpressionCanBeNull";
|
|
9185
|
+
DiagnosticCode2[DiagnosticCode2["TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator"] = 2106] = "TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator";
|
|
9186
|
+
DiagnosticCode2[DiagnosticCode2["UnreachableCode"] = 2107] = "UnreachableCode";
|
|
9187
|
+
DiagnosticCode2[DiagnosticCode2["RecursionOccurredWhileCalculatingTheTypeOfTheExpression"] = 2108] = "RecursionOccurredWhileCalculatingTheTypeOfTheExpression";
|
|
9188
|
+
DiagnosticCode2[DiagnosticCode2["RecursionOccurredWhileInferringTheTypeOfTheVariable"] = 2109] = "RecursionOccurredWhileInferringTheTypeOfTheVariable";
|
|
9189
|
+
DiagnosticCode2[DiagnosticCode2["ScopeAlreadyContainsDeclarationWithTheSameName"] = 2110] = "ScopeAlreadyContainsDeclarationWithTheSameName";
|
|
9190
|
+
DiagnosticCode2[DiagnosticCode2["ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes"] = 2111] = "ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes";
|
|
9191
|
+
DiagnosticCode2[DiagnosticCode2["ParameterName0ConflictsWithAutomaticallyGeneratedVariableName"] = 2112] = "ParameterName0ConflictsWithAutomaticallyGeneratedVariableName";
|
|
9192
|
+
DiagnosticCode2[DiagnosticCode2["PackageAlreadyContainsDeclarationWithTheSameName"] = 2113] = "PackageAlreadyContainsDeclarationWithTheSameName";
|
|
9193
|
+
DiagnosticCode2[DiagnosticCode2["PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes"] = 2114] = "PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes";
|
|
9194
|
+
DiagnosticCode2[DiagnosticCode2["PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount"] = 2115] = "PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount";
|
|
9195
|
+
DiagnosticCode2[DiagnosticCode2["PackageAliasWithTheSameNameAlreadyExits"] = 2116] = "PackageAliasWithTheSameNameAlreadyExits";
|
|
9196
|
+
DiagnosticCode2[DiagnosticCode2["TypeAlreadyContainsDeclarationWithTheSameName"] = 2117] = "TypeAlreadyContainsDeclarationWithTheSameName";
|
|
9197
|
+
DiagnosticCode2[DiagnosticCode2["TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes"] = 2118] = "TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes";
|
|
9198
|
+
DiagnosticCode2[DiagnosticCode2["TypeAlreadyContainsConstructorWithTheSameParameterTypes"] = 2119] = "TypeAlreadyContainsConstructorWithTheSameParameterTypes";
|
|
9199
|
+
DiagnosticCode2[DiagnosticCode2["TypeAlreadyContainsIndexerWithTheSameParameterTypes"] = 2120] = "TypeAlreadyContainsIndexerWithTheSameParameterTypes";
|
|
9200
|
+
DiagnosticCode2[DiagnosticCode2["TypeCanHaveOnlyOneDestructor"] = 2121] = "TypeCanHaveOnlyOneDestructor";
|
|
9201
|
+
DiagnosticCode2[DiagnosticCode2["TypeCanHaveOnlyOneDereferenceOperator"] = 2122] = "TypeCanHaveOnlyOneDereferenceOperator";
|
|
9202
|
+
DiagnosticCode2[DiagnosticCode2["VariableIsUsedBeforeItsDeclaration"] = 2123] = "VariableIsUsedBeforeItsDeclaration";
|
|
9203
|
+
DiagnosticCode2[DiagnosticCode2["VariableMayNotHasBeenAssignedBeforeUsage"] = 2124] = "VariableMayNotHasBeenAssignedBeforeUsage";
|
|
9204
|
+
DiagnosticCode2[DiagnosticCode2["NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned"] = 2125] = "NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned";
|
|
9205
|
+
DiagnosticCode2[DiagnosticCode2["WriteFunctionHasNoCorrespondingReadFunction"] = 2126] = "WriteFunctionHasNoCorrespondingReadFunction";
|
|
9206
|
+
DiagnosticCode2[DiagnosticCode2["TypeCannotHaveMultipleBaseObjectTypes"] = 2127] = "TypeCannotHaveMultipleBaseObjectTypes";
|
|
9207
|
+
DiagnosticCode2[DiagnosticCode2["TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType"] = 2128] = "TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType";
|
|
9208
|
+
DiagnosticCode2[DiagnosticCode2["StructureCannotBeUsedAsBaseType"] = 2129] = "StructureCannotBeUsedAsBaseType";
|
|
9209
|
+
DiagnosticCode2[DiagnosticCode2["ThisTypeIsAlreadyListedInBaseTypeList"] = 2130] = "ThisTypeIsAlreadyListedInBaseTypeList";
|
|
9210
|
+
DiagnosticCode2[DiagnosticCode2["OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes"] = 2131] = "OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes";
|
|
9211
|
+
DiagnosticCode2[DiagnosticCode2["StructureCanHaveOnlyAspectsAsBaseTypes"] = 2132] = "StructureCanHaveOnlyAspectsAsBaseTypes";
|
|
9212
|
+
DiagnosticCode2[DiagnosticCode2["AspectTypeCanHaveOnlyAspectsAsBaseTypes"] = 2133] = "AspectTypeCanHaveOnlyAspectsAsBaseTypes";
|
|
9213
|
+
DiagnosticCode2[DiagnosticCode2["ModifierListAlreadyContains0Modifier"] = 2134] = "ModifierListAlreadyContains0Modifier";
|
|
9214
|
+
DiagnosticCode2[DiagnosticCode2["ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier"] = 2135] = "ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier";
|
|
9215
|
+
DiagnosticCode2[DiagnosticCode2["_0ModifierIsNotAllowedHere"] = 2136] = "_0ModifierIsNotAllowedHere";
|
|
9216
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationCannotBePlacedInGroupHaving0Modifier"] = 2137] = "DeclarationCannotBePlacedInGroupHaving0Modifier";
|
|
9217
|
+
DiagnosticCode2[DiagnosticCode2["PackageConstructorDeclarationCannotHaveModifiers"] = 2138] = "PackageConstructorDeclarationCannotHaveModifiers";
|
|
9218
|
+
DiagnosticCode2[DiagnosticCode2["PackageEntryPointDeclarationCannotHaveModifiers"] = 2139] = "PackageEntryPointDeclarationCannotHaveModifiers";
|
|
9219
|
+
DiagnosticCode2[DiagnosticCode2["TranslationsCannotHaveModifiers"] = 2140] = "TranslationsCannotHaveModifiers";
|
|
9220
|
+
DiagnosticCode2[DiagnosticCode2["AbstractModifierCanOnlyBeUsedInAbstractObjectTypes"] = 2141] = "AbstractModifierCanOnlyBeUsedInAbstractObjectTypes";
|
|
9221
|
+
DiagnosticCode2[DiagnosticCode2["BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases"] = 2142] = "BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases";
|
|
9222
|
+
DiagnosticCode2[DiagnosticCode2["OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes"] = 2143] = "OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes";
|
|
9223
|
+
DiagnosticCode2[DiagnosticCode2["_0ModifierCannotBeUsedWith1Modifier"] = 2144] = "_0ModifierCannotBeUsedWith1Modifier";
|
|
9224
|
+
DiagnosticCode2[DiagnosticCode2["VariantValueCannotBeHidden"] = 2145] = "VariantValueCannotBeHidden";
|
|
9225
|
+
DiagnosticCode2[DiagnosticCode2["BasicModifierCanOnlyBeAppliedToObjectTypes"] = 2146] = "BasicModifierCanOnlyBeAppliedToObjectTypes";
|
|
9226
|
+
DiagnosticCode2[DiagnosticCode2["AbstractModifierCanOnlyBeAppliedToObjectTypes"] = 2147] = "AbstractModifierCanOnlyBeAppliedToObjectTypes";
|
|
9227
|
+
DiagnosticCode2[DiagnosticCode2["NotBasicObjectTypesCannotHaveBasicMembers"] = 2148] = "NotBasicObjectTypesCannotHaveBasicMembers";
|
|
9228
|
+
DiagnosticCode2[DiagnosticCode2["BasicModifierCannotBeAppliedToAspectTypeFields"] = 2149] = "BasicModifierCannotBeAppliedToAspectTypeFields";
|
|
9229
|
+
DiagnosticCode2[DiagnosticCode2["WriteFunctionMustHaveTheSameModifiersAsReadFunction"] = 2150] = "WriteFunctionMustHaveTheSameModifiersAsReadFunction";
|
|
9230
|
+
DiagnosticCode2[DiagnosticCode2["WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction"] = 2151] = "WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction";
|
|
9231
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationConflictsWithBaseTypeMember0"] = 2152] = "DeclarationConflictsWithBaseTypeMember0";
|
|
9232
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationConflictsWithBaseTypeMember0AddOverrideModifier"] = 2153] = "DeclarationConflictsWithBaseTypeMember0AddOverrideModifier";
|
|
9233
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden"] = 2154] = "DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden";
|
|
9234
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1"] = 2155] = "DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1";
|
|
9235
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1"] = 2156] = "DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1";
|
|
9236
|
+
DiagnosticCode2[DiagnosticCode2["OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0"] = 2157] = "OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0";
|
|
9237
|
+
DiagnosticCode2[DiagnosticCode2["OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync"] = 2158] = "OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync";
|
|
9238
|
+
DiagnosticCode2[DiagnosticCode2["OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync"] = 2159] = "OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync";
|
|
9239
|
+
DiagnosticCode2[DiagnosticCode2["OverridingFieldMustMustBeMutableToMatchBaseField0"] = 2160] = "OverridingFieldMustMustBeMutableToMatchBaseField0";
|
|
9240
|
+
DiagnosticCode2[DiagnosticCode2["OverridingMemberMustHaveWriteFunctionToMatchBaseMember0"] = 2161] = "OverridingMemberMustHaveWriteFunctionToMatchBaseMember0";
|
|
9241
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotImplementMember0"] = 2162] = "TypeDoesNotImplementMember0";
|
|
9242
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1"] = 2163] = "TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1";
|
|
9243
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotImplementMember0ImplicitImplementation1IsAsync"] = 2164] = "TypeDoesNotImplementMember0ImplicitImplementation1IsAsync";
|
|
9244
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync"] = 2165] = "TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync";
|
|
9245
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable"] = 2166] = "TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable";
|
|
9246
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden"] = 2167] = "TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden";
|
|
9247
|
+
DiagnosticCode2[DiagnosticCode2["CannotAccessAbstractMemberOfBaseType"] = 2168] = "CannotAccessAbstractMemberOfBaseType";
|
|
9248
|
+
DiagnosticCode2[DiagnosticCode2["TheFollowingBaseTypeMembersConflictAndMustBeOverridden0"] = 2169] = "TheFollowingBaseTypeMembersConflictAndMustBeOverridden0";
|
|
9249
|
+
DiagnosticCode2[DiagnosticCode2["TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1"] = 2170] = "TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1";
|
|
9250
|
+
DiagnosticCode2[DiagnosticCode2["TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall"] = 2171] = "TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall";
|
|
9251
|
+
DiagnosticCode2[DiagnosticCode2["ThisCallCausesOwnConstructorCallCycle"] = 2172] = "ThisCallCausesOwnConstructorCallCycle";
|
|
9252
|
+
DiagnosticCode2[DiagnosticCode2["OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock"] = 2173] = "OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock";
|
|
9253
|
+
DiagnosticCode2[DiagnosticCode2["BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock"] = 2174] = "BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock";
|
|
9254
|
+
DiagnosticCode2[DiagnosticCode2["Field0HasNoInitializerAndMayNotBeAssignedInConstructor"] = 2175] = "Field0HasNoInitializerAndMayNotBeAssignedInConstructor";
|
|
9255
|
+
DiagnosticCode2[DiagnosticCode2["Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor"] = 2176] = "Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor";
|
|
9256
|
+
DiagnosticCode2[DiagnosticCode2["Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor"] = 2177] = "Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor";
|
|
9257
|
+
DiagnosticCode2[DiagnosticCode2["ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1"] = 2178] = "ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1";
|
|
9258
|
+
DiagnosticCode2[DiagnosticCode2["ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType"] = 2179] = "ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType";
|
|
9259
|
+
DiagnosticCode2[DiagnosticCode2["CannotInferTypeArguments"] = 2180] = "CannotInferTypeArguments";
|
|
9260
|
+
DiagnosticCode2[DiagnosticCode2["CanNotInferReturnTypeAddExplicitReturnTypeSpecifier"] = 2181] = "CanNotInferReturnTypeAddExplicitReturnTypeSpecifier";
|
|
9261
|
+
DiagnosticCode2[DiagnosticCode2["ImmutableVariablesBustBeInitialized"] = 2182] = "ImmutableVariablesBustBeInitialized";
|
|
9262
|
+
DiagnosticCode2[DiagnosticCode2["VariableTypeIsNotSpecified"] = 2183] = "VariableTypeIsNotSpecified";
|
|
9263
|
+
DiagnosticCode2[DiagnosticCode2["CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter"] = 2184] = "CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter";
|
|
9264
|
+
DiagnosticCode2[DiagnosticCode2["TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters"] = 2185] = "TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters";
|
|
9265
|
+
DiagnosticCode2[DiagnosticCode2["RequiredTypeParametersCannotFollowTypeParametersWithDefaults"] = 2186] = "RequiredTypeParametersCannotFollowTypeParametersWithDefaults";
|
|
9266
|
+
DiagnosticCode2[DiagnosticCode2["RequiredParametersCannotFollowOptionalParameters"] = 2187] = "RequiredParametersCannotFollowOptionalParameters";
|
|
9267
|
+
DiagnosticCode2[DiagnosticCode2["ExpressionCannotBeReferenced"] = 2188] = "ExpressionCannotBeReferenced";
|
|
9268
|
+
DiagnosticCode2[DiagnosticCode2["TextIsMissingAmongPrimaryTextTranslationDefinitions"] = 2189] = "TextIsMissingAmongPrimaryTextTranslationDefinitions";
|
|
9269
|
+
DiagnosticCode2[DiagnosticCode2["DeclarationHasAlreadyBeenTranslated"] = 2190] = "DeclarationHasAlreadyBeenTranslated";
|
|
9270
|
+
DiagnosticCode2[DiagnosticCode2["TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters"] = 2191] = "TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters";
|
|
9271
|
+
DiagnosticCode2[DiagnosticCode2["TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters"] = 2192] = "TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters";
|
|
9272
|
+
DiagnosticCode2[DiagnosticCode2["TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName"] = 2193] = "TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName";
|
|
9273
|
+
DiagnosticCode2[DiagnosticCode2["TranslationOfFunctionTypeMustIncludeParameterList"] = 2194] = "TranslationOfFunctionTypeMustIncludeParameterList";
|
|
9274
|
+
DiagnosticCode2[DiagnosticCode2["OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary"] = 2195] = "OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary";
|
|
9275
|
+
DiagnosticCode2[DiagnosticCode2["Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23"] = 2196] = "Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23";
|
|
9276
|
+
DiagnosticCode2[DiagnosticCode2["TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23"] = 2197] = "TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23";
|
|
9277
|
+
DiagnosticCode2[DiagnosticCode2["TranslatedOverridingMember0MustTheSameNameAsBaseMember1"] = 2198] = "TranslatedOverridingMember0MustTheSameNameAsBaseMember1";
|
|
9278
|
+
DiagnosticCode2[DiagnosticCode2["TextTranslationAlreadyExistsInTheTextTranslationPackage"] = 2199] = "TextTranslationAlreadyExistsInTheTextTranslationPackage";
|
|
9279
|
+
DiagnosticCode2[DiagnosticCode2["PackageDoesNotContainImplementationOf0"] = 2200] = "PackageDoesNotContainImplementationOf0";
|
|
9280
|
+
DiagnosticCode2[DiagnosticCode2["TypeDoesNotContainImplementationOf0"] = 2201] = "TypeDoesNotContainImplementationOf0";
|
|
9281
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0"] = 2202] = "ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0";
|
|
9282
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0"] = 2203] = "ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0";
|
|
9283
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0"] = 2204] = "ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0";
|
|
9284
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationTypeMustBeBasicToMatchInterfacePackageType0"] = 2205] = "ImplementationTypeMustBeBasicToMatchInterfacePackageType0";
|
|
9285
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0"] = 2206] = "ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0";
|
|
9286
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0"] = 2207] = "ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0";
|
|
9287
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0"] = 2208] = "ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0";
|
|
9288
|
+
DiagnosticCode2[DiagnosticCode2["ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0"] = 2209] = "ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0";
|
|
9289
|
+
DiagnosticCode2[DiagnosticCode2["BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop"] = 2210] = "BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop";
|
|
9290
|
+
DiagnosticCode2[DiagnosticCode2["BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock"] = 2211] = "BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock";
|
|
9291
|
+
DiagnosticCode2[DiagnosticCode2["TheCodeWasExpectedToBeUnreachable"] = 2212] = "TheCodeWasExpectedToBeUnreachable";
|
|
9292
|
+
DiagnosticCode2[DiagnosticCode2["CorrespondingReductionSourceTypeMemberNotFound"] = 2213] = "CorrespondingReductionSourceTypeMemberNotFound";
|
|
9293
|
+
DiagnosticCode2[DiagnosticCode2["OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified"] = 2214] = "OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified";
|
|
9294
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember"] = 2215] = "ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember";
|
|
9295
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember"] = 2216] = "ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember";
|
|
9296
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeFieldMustBeImmutableToMatchReductionSourceField"] = 2217] = "ReducedTypeFieldMustBeImmutableToMatchReductionSourceField";
|
|
9297
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod"] = 2218] = "ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod";
|
|
9298
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod"] = 2219] = "ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod";
|
|
9299
|
+
DiagnosticCode2[DiagnosticCode2["ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember"] = 2220] = "ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember";
|
|
9300
|
+
DiagnosticCode2[DiagnosticCode2["StructureFieldsMustBeImmutable"] = 2221] = "StructureFieldsMustBeImmutable";
|
|
9301
|
+
DiagnosticCode2[DiagnosticCode2["StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable"] = 2222] = "StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable";
|
|
9302
|
+
DiagnosticCode2[DiagnosticCode2["FieldTypeCausesRecursiveStructureLayout"] = 2223] = "FieldTypeCausesRecursiveStructureLayout";
|
|
9303
|
+
DiagnosticCode2[DiagnosticCode2["QuestionOperatorCanBeUsedOnlyInSpecificExpressions"] = 2224] = "QuestionOperatorCanBeUsedOnlyInSpecificExpressions";
|
|
9304
|
+
DiagnosticCode2[DiagnosticCode2["BaseTypeListMustNotBeEmpty"] = 2225] = "BaseTypeListMustNotBeEmpty";
|
|
9305
|
+
DiagnosticCode2[DiagnosticCode2["ObjectParameterMustBeTheFirstParameter"] = 2226] = "ObjectParameterMustBeTheFirstParameter";
|
|
9306
|
+
DiagnosticCode2[DiagnosticCode2["ObjectParameterCannotBeDeclaredHere"] = 2227] = "ObjectParameterCannotBeDeclaredHere";
|
|
9307
|
+
DiagnosticCode2[DiagnosticCode2["OperatorCannotBeAsync"] = 2228] = "OperatorCannotBeAsync";
|
|
9308
|
+
DiagnosticCode2[DiagnosticCode2["OperatorCannotContainTypeParameterDeclarations"] = 2229] = "OperatorCannotContainTypeParameterDeclarations";
|
|
9309
|
+
DiagnosticCode2[DiagnosticCode2["TypeNameExpectedAtLastQualifier"] = 2230] = "TypeNameExpectedAtLastQualifier";
|
|
9307
9310
|
DiagnosticCode2[DiagnosticCode2["CannotFindTsLibDirectoryBaseSearchPaths0"] = 3e3] = "CannotFindTsLibDirectoryBaseSearchPaths0";
|
|
9308
9311
|
DiagnosticCode2[DiagnosticCode2["SourceFile0IsNotPartOfThePackageAndWontBeLoaded"] = 3001] = "SourceFile0IsNotPartOfThePackageAndWontBeLoaded";
|
|
9309
9312
|
DiagnosticCode2[DiagnosticCode2["ProgramWithoutMainPackageCannotBeCompiled"] = 3002] = "ProgramWithoutMainPackageCannotBeCompiled";
|
|
@@ -9461,180 +9464,183 @@ var englishErrorMessages = {
|
|
|
9461
9464
|
[2010 /* IndexerNotFound */]: "Indexer not found.",
|
|
9462
9465
|
[2011 /* IndexerWithTheGivenParameterNamesNotFound */]: "Indexer with the given parameter names not found.",
|
|
9463
9466
|
[2053 /* BaseCannotBeUsedInThisContext */]: "'base' cannot be used in this context.",
|
|
9464
|
-
[
|
|
9465
|
-
[
|
|
9466
|
-
[2055 /*
|
|
9467
|
-
[2056 /*
|
|
9468
|
-
[
|
|
9469
|
-
[
|
|
9470
|
-
[2060 /*
|
|
9471
|
-
[2061 /*
|
|
9472
|
-
[2062 /*
|
|
9473
|
-
[2063 /*
|
|
9474
|
-
[2064 /*
|
|
9475
|
-
[2065 /*
|
|
9476
|
-
[2066 /*
|
|
9477
|
-
[2067 /*
|
|
9478
|
-
[2068 /*
|
|
9479
|
-
[2069 /*
|
|
9480
|
-
[2070 /*
|
|
9481
|
-
[2071 /*
|
|
9482
|
-
[2072 /*
|
|
9483
|
-
[2073 /*
|
|
9484
|
-
[2074 /*
|
|
9485
|
-
[2075 /*
|
|
9486
|
-
[2076 /*
|
|
9487
|
-
[2077 /*
|
|
9488
|
-
[2078 /*
|
|
9489
|
-
[2079 /*
|
|
9490
|
-
[2080 /*
|
|
9491
|
-
[2081 /*
|
|
9492
|
-
[2082 /*
|
|
9493
|
-
[2083 /*
|
|
9494
|
-
[2084 /*
|
|
9495
|
-
[2085 /*
|
|
9496
|
-
[2086 /*
|
|
9497
|
-
[2087 /*
|
|
9498
|
-
[2088 /*
|
|
9499
|
-
[2089 /*
|
|
9500
|
-
[2090 /*
|
|
9501
|
-
[2091 /*
|
|
9502
|
-
[2092 /*
|
|
9503
|
-
[2093 /*
|
|
9504
|
-
[2094 /*
|
|
9505
|
-
[2095 /*
|
|
9506
|
-
[2096 /*
|
|
9507
|
-
[2097 /*
|
|
9508
|
-
[2098 /*
|
|
9509
|
-
[2099 /*
|
|
9510
|
-
[2100 /*
|
|
9511
|
-
[2101 /*
|
|
9512
|
-
[2102 /*
|
|
9513
|
-
[2103 /*
|
|
9514
|
-
[2104 /*
|
|
9515
|
-
[2105 /*
|
|
9516
|
-
[2106 /*
|
|
9517
|
-
[2107 /*
|
|
9518
|
-
[2108 /*
|
|
9519
|
-
[2109 /*
|
|
9520
|
-
[2110 /*
|
|
9521
|
-
[2111 /*
|
|
9522
|
-
[2112 /*
|
|
9523
|
-
[2113 /*
|
|
9524
|
-
[2114 /*
|
|
9525
|
-
[2115 /*
|
|
9526
|
-
[2116 /*
|
|
9527
|
-
[2117 /*
|
|
9528
|
-
[2118 /*
|
|
9529
|
-
[2119 /*
|
|
9530
|
-
[2120 /*
|
|
9531
|
-
[2121 /*
|
|
9532
|
-
[2122 /*
|
|
9533
|
-
[2123 /*
|
|
9534
|
-
[2124 /*
|
|
9535
|
-
[2125 /*
|
|
9536
|
-
[2126 /*
|
|
9537
|
-
[2127 /*
|
|
9538
|
-
[2128 /*
|
|
9539
|
-
[2129 /*
|
|
9540
|
-
[2130 /*
|
|
9541
|
-
[2131 /*
|
|
9542
|
-
[2132 /*
|
|
9543
|
-
[2133 /*
|
|
9544
|
-
[2134 /*
|
|
9545
|
-
[2135 /*
|
|
9546
|
-
[2136 /*
|
|
9547
|
-
[2137 /*
|
|
9548
|
-
[2138 /*
|
|
9549
|
-
[2139 /*
|
|
9550
|
-
[2140 /*
|
|
9551
|
-
[2141 /*
|
|
9552
|
-
[2142 /*
|
|
9553
|
-
[2143 /*
|
|
9554
|
-
[2144 /*
|
|
9555
|
-
[2145 /*
|
|
9556
|
-
[2146 /*
|
|
9557
|
-
[2147 /*
|
|
9558
|
-
[2148 /*
|
|
9559
|
-
[2149 /*
|
|
9560
|
-
[2150 /*
|
|
9561
|
-
[2151 /*
|
|
9562
|
-
[2152 /*
|
|
9563
|
-
[2153 /*
|
|
9564
|
-
[2154 /*
|
|
9565
|
-
[2155 /*
|
|
9566
|
-
[2156 /*
|
|
9567
|
-
[2157 /*
|
|
9568
|
-
[2158 /*
|
|
9569
|
-
[2159 /*
|
|
9570
|
-
[2160 /*
|
|
9571
|
-
[2161 /*
|
|
9572
|
-
[2162 /*
|
|
9573
|
-
[2163 /*
|
|
9574
|
-
[2164 /*
|
|
9575
|
-
[2165 /*
|
|
9576
|
-
[2166 /*
|
|
9577
|
-
[2167 /*
|
|
9578
|
-
[2168 /*
|
|
9579
|
-
[2169 /*
|
|
9580
|
-
[2170 /*
|
|
9581
|
-
[2171 /*
|
|
9582
|
-
[2172 /*
|
|
9583
|
-
[2173 /*
|
|
9584
|
-
[2174 /*
|
|
9585
|
-
[2175 /*
|
|
9586
|
-
[2176 /*
|
|
9587
|
-
[2177 /*
|
|
9588
|
-
[2178 /*
|
|
9589
|
-
[2179 /*
|
|
9590
|
-
[
|
|
9591
|
-
[
|
|
9592
|
-
[
|
|
9593
|
-
[
|
|
9594
|
-
[2184 /*
|
|
9595
|
-
[2185 /*
|
|
9596
|
-
[2186 /*
|
|
9597
|
-
[2187 /*
|
|
9598
|
-
[2188 /*
|
|
9599
|
-
[2189 /*
|
|
9600
|
-
[2190 /*
|
|
9601
|
-
[2191 /*
|
|
9602
|
-
[2192 /*
|
|
9603
|
-
[2193 /*
|
|
9604
|
-
[2194 /*
|
|
9605
|
-
[2195 /*
|
|
9606
|
-
[2196 /*
|
|
9607
|
-
[2197 /*
|
|
9608
|
-
[2198 /*
|
|
9609
|
-
[2199 /*
|
|
9610
|
-
[2200 /*
|
|
9611
|
-
[2201 /*
|
|
9612
|
-
[2202 /*
|
|
9613
|
-
[2203 /*
|
|
9614
|
-
[2204 /*
|
|
9615
|
-
[2205 /*
|
|
9616
|
-
[2206 /*
|
|
9617
|
-
[2207 /*
|
|
9618
|
-
[2208 /*
|
|
9619
|
-
[2209 /*
|
|
9620
|
-
[2210 /*
|
|
9621
|
-
[2211 /*
|
|
9622
|
-
[2212 /*
|
|
9623
|
-
[2213 /*
|
|
9624
|
-
[2214 /*
|
|
9625
|
-
[2215 /*
|
|
9626
|
-
[2216 /*
|
|
9627
|
-
[2217 /*
|
|
9628
|
-
[2218 /*
|
|
9629
|
-
[2219 /*
|
|
9630
|
-
[2220 /*
|
|
9631
|
-
[2221 /*
|
|
9632
|
-
[2222 /*
|
|
9633
|
-
[2223 /*
|
|
9634
|
-
[2224 /*
|
|
9635
|
-
[2225 /*
|
|
9636
|
-
[2226 /*
|
|
9637
|
-
[2227 /*
|
|
9467
|
+
[2054 /* BaseCannotBeUsedInStaticContext */]: "'base' cannot be used in static context.",
|
|
9468
|
+
[2059 /* BaseCannotBeUsedAsAnExpressionInItself */]: "'base' cannot be used as an expression in itself.",
|
|
9469
|
+
[2055 /* OverriddenMethodNotFound */]: "Overridden method not found.",
|
|
9470
|
+
[2056 /* ObjectCannotBeUsedInThisContext */]: "'object' cannot be used in this context.",
|
|
9471
|
+
[2057 /* ObjectCannotBeUsedInStaticContext */]: "'object' cannot be used in static context.",
|
|
9472
|
+
[2058 /* OwnConstructorCannotBeCalledHere */]: "Own constructor cannot be called here.",
|
|
9473
|
+
[2060 /* InterfacePackageMustNotContainImplementation */]: "Interface package must not contain implementation.",
|
|
9474
|
+
[2061 /* InterfacePackageVariablesMustNotHaveInitializers */]: "Interface package variables must not have initializers.",
|
|
9475
|
+
[2062 /* BodyIsMissing */]: "Body is missing.",
|
|
9476
|
+
[2063 /* AbstractTypeMembersMustNotHaveBody */]: "Abstract type members must not have body.",
|
|
9477
|
+
[2064 /* MembersOfAspectTypeMustNotHaveBody */]: "Members of aspect type must not have body.",
|
|
9478
|
+
[2065 /* AspectTypeFieldsMustBeAbstract */]: "Aspect type fields must be abstract.",
|
|
9479
|
+
[2066 /* DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody */]: "Declarations marked with 'BuiltIntoPlatform' tag must not have body.",
|
|
9480
|
+
[2067 /* ReducedTypeMembersMustNotHaveBody */]: "Reduced type members must not have body.",
|
|
9481
|
+
[2068 /* AbstractFieldsMustNotHaveInitializers */]: "Abstract fields must not have initializers.",
|
|
9482
|
+
[2069 /* ReducedTypeFieldsMustNotHaveInitializers */]: "Reduced type fields must not have initializers.",
|
|
9483
|
+
[2070 /* PackageIsAlreadyImported */]: "Package is already imported.",
|
|
9484
|
+
[2071 /* OnlySubprogramsWithReturnTypeCanReturnValue */]: "Only functions with a return type can return a value.",
|
|
9485
|
+
[2072 /* FunctionsUsingYieldStatementCannotReturnValue */]: "Methods using yield statement cannot return a value.",
|
|
9486
|
+
[2073 /* YieldStatementCannotBeUsedInAnonymousFunctions */]: "Yield statement cannot be used in anonymous functions.",
|
|
9487
|
+
[2074 /* YieldStatementCannotBeUsedHere */]: "Yield statement cannot be used here.",
|
|
9488
|
+
[2075 /* FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType */]: "Function using 'yield' statement must have 'Enumerable' as a return type.",
|
|
9489
|
+
[2076 /* YieldStatementCannotBeUsedInTryStatementThatHasCatchClause */]: "Yield statement cannot be used in 'try' statement that has 'catch' clause.",
|
|
9490
|
+
[2077 /* YieldStatementCannotBeUsedInFinallyBlock */]: "Yield statement cannot be used in 'finally' block.",
|
|
9491
|
+
[2078 /* SubprogramMustReturnValue */]: "Function must return a value.",
|
|
9492
|
+
[2079 /* ResultVariableCannotBeUsedInFunctionsUsingYieldStatement */]: "'result' variable cannot be used in functions using 'yield' statement.",
|
|
9493
|
+
[2080 /* TypeAliasReferencesItself */]: "Type alias references itself.",
|
|
9494
|
+
[2081 /* ReducedTypeReferencesItself */]: "Reduced type references itself.",
|
|
9495
|
+
[2082 /* TypeParameterHasCircularConstraint */]: "Type parameter has circular constraint.",
|
|
9496
|
+
[2083 /* BaseTypeCausesInheritanceCycle */]: "Base type causes inheritance cycle.",
|
|
9497
|
+
[2084 /* OnlyGenericTypesAndFunctionsCanBeSpecialized */]: "Only generic types and functions can be specialized.",
|
|
9498
|
+
[2085 /* Expected0TypeArguments */]: "Expected {0} type argument(s).",
|
|
9499
|
+
[2086 /* ExpectedFrom0To1TypeArguments */]: "Expected from {0} to {1} type arguments.",
|
|
9500
|
+
[2087 /* Type0IsNotAssignableToConstraint1 */]: "Type '{0}' is not assignable to constraint '{1}'.",
|
|
9501
|
+
[2088 /* VariableIsDeclaredButItsValueIsNeverRead */]: "Variable is declared but its value is never read.",
|
|
9502
|
+
[2089 /* FunctionIsDeclaredButNotUsed */]: "Function is declared but not used.",
|
|
9503
|
+
[2090 /* TypeParameterIsDeclaredButNotUsed */]: "Type parameter is declared but not used.",
|
|
9504
|
+
[2091 /* DefaultConstructorArgumentsMustBeNamed */]: "Default constructor arguments must be named.",
|
|
9505
|
+
[2092 /* IncorrectBodyOfBasicAliasTypeMethod */]: "Body of overridden method declared in alias type must consist of a call to base method of original type with same parameters and return type.",
|
|
9506
|
+
[2093 /* TheFollowingDeclarationsAreNotTranslated0 */]: "The following declarations are not translated:\n\n{0}.",
|
|
9507
|
+
[2094 /* TheFollowingDeclarationsAreNotTranslated0And1More */]: "The following declarations are not translated:\n\n{0}\n\nand {1} more.",
|
|
9508
|
+
[2095 /* TheFollowingTextsAreNotTranslated0 */]: "The following texts are not translated:\n\n{0}.",
|
|
9509
|
+
[2096 /* TheFollowingTextsAreNotTranslated0And1More */]: "The following texts are not translated:\n\n{0}\n\nand {1} more.",
|
|
9510
|
+
[2097 /* OperatorFunction0MustNotHaveParameters */]: "Operator function '{0}' must not have parameters.",
|
|
9511
|
+
[2098 /* OperatorFunction0MustHaveOneParameter */]: "Operator function '{0}' must have one parameter.",
|
|
9512
|
+
[2099 /* OperatorFunction0MustHaveNoMoreThanOneParameter */]: "Operator function '{0}' must have no more than one parameter.",
|
|
9513
|
+
[2100 /* CorrespondingBasicTypeMemberNotFound */]: "Corresponding basic type member not found.",
|
|
9514
|
+
[2101 /* AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier */]: "Async function can only be called from function marked with 'async' modifier.",
|
|
9515
|
+
[2102 /* TagNotFound */]: "Tag not found.",
|
|
9516
|
+
[2103 /* TypeOrFunctionNameExpected */]: "Type or function name expected.",
|
|
9517
|
+
[2104 /* PackageNameOrAliasExpected */]: "Package name or alias expected.",
|
|
9518
|
+
[2105 /* ExpressionCanBeNull */]: "Expression can be null.",
|
|
9519
|
+
[2106 /* TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator */]: "Target variable expression in the assignment statement cannot contain '?' operator used to check for 'null' value.",
|
|
9520
|
+
[2107 /* UnreachableCode */]: "Unreachable code.",
|
|
9521
|
+
[2108 /* RecursionOccurredWhileCalculatingTheTypeOfTheExpression */]: "Recursion occurred while calculating the type of the expression. To fix this error, specify the type of the variable explicitly.",
|
|
9522
|
+
[2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */]: "Recursion occurred while inferring the type of the variable. To fix this error, specify the type of the variable explicitly.",
|
|
9523
|
+
[2110 /* ScopeAlreadyContainsDeclarationWithTheSameName */]: "Scope already contains declaration with the same name.",
|
|
9524
|
+
[2111 /* ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes */]: "Scope already contains function with the same name and parameter types.",
|
|
9525
|
+
[2112 /* ParameterName0ConflictsWithAutomaticallyGeneratedVariableName */]: "Parameter name '{0}' conflicts with automatically generated variable name.",
|
|
9526
|
+
[2113 /* PackageAlreadyContainsDeclarationWithTheSameName */]: "Package already contains declaration with the same name.",
|
|
9527
|
+
[2114 /* PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes */]: "Package already contains function with the same name and parameter types.",
|
|
9528
|
+
[2115 /* PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount */]: "Package already contains type with the same name and same or intersecting type parameter count.",
|
|
9529
|
+
[2116 /* PackageAliasWithTheSameNameAlreadyExits */]: "Package alias with the same name already exits.",
|
|
9530
|
+
[2117 /* TypeAlreadyContainsDeclarationWithTheSameName */]: "Type already contains declaration with the same name.",
|
|
9531
|
+
[2118 /* TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes */]: "Type already contains method with the same name and parameter types.",
|
|
9532
|
+
[2119 /* TypeAlreadyContainsConstructorWithTheSameParameterTypes */]: "Type already contains constructor with the same parameter types.",
|
|
9533
|
+
[2120 /* TypeAlreadyContainsIndexerWithTheSameParameterTypes */]: "Type already contains indexer with the same parameter types.",
|
|
9534
|
+
[2121 /* TypeCanHaveOnlyOneDestructor */]: "Type can have only one destructor.",
|
|
9535
|
+
[2122 /* TypeCanHaveOnlyOneDereferenceOperator */]: "Type can have only one dereference operator.",
|
|
9536
|
+
[2123 /* VariableIsUsedBeforeItsDeclaration */]: "Variable is used before it's declaration.",
|
|
9537
|
+
[2124 /* VariableMayNotHasBeenAssignedBeforeUsage */]: "Variable may not has been assigned before usage.",
|
|
9538
|
+
[2125 /* NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned */]: "Not all code paths return a value and 'result' local variable may not has been assigned.",
|
|
9539
|
+
[2126 /* WriteFunctionHasNoCorrespondingReadFunction */]: "Write function has no corresponding read function.",
|
|
9540
|
+
[2127 /* TypeCannotHaveMultipleBaseObjectTypes */]: "Type cannot have multiple base object types.",
|
|
9541
|
+
[2128 /* TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType */]: "Type that is not marked as 'basic' cannot be used as base type.",
|
|
9542
|
+
[2129 /* StructureCannotBeUsedAsBaseType */]: "Structure cannot be used as base type.",
|
|
9543
|
+
[2130 /* ThisTypeIsAlreadyListedInBaseTypeList */]: "This type is already listed in base type list.",
|
|
9544
|
+
[2131 /* OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes */]: "Only object and aspect types can be used as base types.",
|
|
9545
|
+
[2132 /* StructureCanHaveOnlyAspectsAsBaseTypes */]: "Structure can have only aspects as base types.",
|
|
9546
|
+
[2133 /* AspectTypeCanHaveOnlyAspectsAsBaseTypes */]: "Aspect type can have only aspects as base types.",
|
|
9547
|
+
[2134 /* ModifierListAlreadyContains0Modifier */]: "Modifier list already contains '{0}' modifier.",
|
|
9548
|
+
[2135 /* ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier */]: "Modifier list of outer declaration group already contains '{0}' modifier.",
|
|
9549
|
+
[2136 /* _0ModifierIsNotAllowedHere */]: "'{0}' modifier is not allowed here.",
|
|
9550
|
+
[2137 /* DeclarationCannotBePlacedInGroupHaving0Modifier */]: "Declaration cannot be placed in group having '{0}' modifier.",
|
|
9551
|
+
[2138 /* PackageConstructorDeclarationCannotHaveModifiers */]: "Package constructor declaration cannot have own modifiers or be placed in group with modifiers.",
|
|
9552
|
+
[2139 /* PackageEntryPointDeclarationCannotHaveModifiers */]: "Package entry point declaration cannot have own modifiers or be placed in group with modifiers.",
|
|
9553
|
+
[2140 /* TranslationsCannotHaveModifiers */]: "Translations cannot have own modifiers or be placed in group with modifiers.",
|
|
9554
|
+
[2141 /* AbstractModifierCanOnlyBeUsedInAbstractObjectTypes */]: "'abstract' modifier can only be used in aspects and abstract object types.",
|
|
9555
|
+
[2142 /* BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases */]: "'basic' modifier can only be used in object types, aspect types and type aliases.",
|
|
9556
|
+
[2143 /* OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes */]: "'override' modifier can only be used in object and aspect types.",
|
|
9557
|
+
[2144 /* _0ModifierCannotBeUsedWith1Modifier */]: "'{0}' modifier cannot be used with '{1}' modifier.",
|
|
9558
|
+
[2145 /* VariantValueCannotBeHidden */]: "Variant value cannot be hidden.",
|
|
9559
|
+
[2146 /* BasicModifierCanOnlyBeAppliedToObjectTypes */]: "'basic' modifier can only be applied to object types.",
|
|
9560
|
+
[2147 /* AbstractModifierCanOnlyBeAppliedToObjectTypes */]: "'abstract' modifier can only be applied to object types.",
|
|
9561
|
+
[2148 /* NotBasicObjectTypesCannotHaveBasicMembers */]: "Not 'basic' object types cannot have 'basic' members.",
|
|
9562
|
+
[2149 /* BasicModifierCannotBeAppliedToAspectTypeFields */]: "Basic modifier cannot be applied to aspect type fields.",
|
|
9563
|
+
[2150 /* WriteFunctionMustHaveTheSameModifiersAsReadFunction */]: "Write function must have the same modifiers as read function.",
|
|
9564
|
+
[2151 /* WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction */]: "Write function must have the same or more restrictive hiding level then read function.",
|
|
9565
|
+
[2152 /* DeclarationConflictsWithBaseTypeMember0 */]: "Declaration conflicts with base type member '{0}'.",
|
|
9566
|
+
[2153 /* DeclarationConflictsWithBaseTypeMember0AddOverrideModifier */]: "Declaration conflicts with base type member '{0}'. To override base member, add 'override' modifier.",
|
|
9567
|
+
[2154 /* DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden */]: "Declaration conflicts with base type member '{0}'. This member cannot be overridden.",
|
|
9568
|
+
[2155 /* DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 */]: "Declaration conflicts with base type member '{0}'. To override it, it's type must be assignable to '{1}'.",
|
|
9569
|
+
[2156 /* DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 */]: "Declaration conflicts with base type member '{0}'. To override it, it's return type must be assignable to '{1}'.",
|
|
9570
|
+
[2157 /* OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 */]: "Overriding member must have the same hiding level as base member '{0}'.",
|
|
9571
|
+
[2158 /* OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync */]: "Overriding method must be 'async' because base method '{0}' is 'async'.",
|
|
9572
|
+
[2159 /* OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync */]: "Overriding method must not be 'async' because base method '{0}' is not 'async'.",
|
|
9573
|
+
[2160 /* OverridingFieldMustMustBeMutableToMatchBaseField0 */]: "Overriding field must be mutable to match base field '{0}'.",
|
|
9574
|
+
[2161 /* OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 */]: "Overriding member must have write function to match base member '{0}'.",
|
|
9575
|
+
[2162 /* TypeDoesNotImplementMember0 */]: "Type does not implement member '{0}'.",
|
|
9576
|
+
[2163 /* TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 */]: "Type does not implement member '{0}'. Member '{1}' cannot implement it because their types does not match.",
|
|
9577
|
+
[2164 /* TypeDoesNotImplementMember0ImplicitImplementation1IsAsync */]: "Type does not implement member '{0}'. Method '{1}' cannot implement it because it is 'async'.",
|
|
9578
|
+
[2165 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync */]: "Type does not implement member '{0}'. Method '{1}' cannot implement it because it is not 'async'.",
|
|
9579
|
+
[2166 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable */]: "Type does not implement member '{0}'. Member '{1}' cannot implement it because it is not mutable.",
|
|
9580
|
+
[2167 /* TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden */]: "Type does not implement member '{0}'. Member '{1}' cannot implement it because its write function is hidden.",
|
|
9581
|
+
[2168 /* CannotAccessAbstractMemberOfBaseType */]: "Can not access abstract member of base type.",
|
|
9582
|
+
[2169 /* TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 */]: "The following base type members conflict and must be overridden:\n{0}",
|
|
9583
|
+
[2170 /* TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 */]: "The following base type members conflict because they have the same original name '{0}' and must be overridden:\n{1}",
|
|
9584
|
+
[2171 /* TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall */]: "The first statement of constructor block must be either base or own constructor call.",
|
|
9585
|
+
[2172 /* ThisCallCausesOwnConstructorCallCycle */]: "This call causes own constructor call cycle.",
|
|
9586
|
+
[2173 /* OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock */]: "Own constructor call must be the first statement of constructor block.",
|
|
9587
|
+
[2174 /* BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock */]: "Base constructor call must be the first statement of constructor block.",
|
|
9588
|
+
[2175 /* Field0HasNoInitializerAndMayNotBeAssignedInConstructor */]: "Field '{0}' has no initializer and may not be assigned in constructor.",
|
|
9589
|
+
[2176 /* Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor */]: "Field '{0}' has no initializer and may not be assigned in package constructor.",
|
|
9590
|
+
[2177 /* Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor */]: "Variable '{0}' has no initializer and may not be assigned in package constructor.",
|
|
9591
|
+
[2178 /* ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 */]: "Expression of type '{0}' cannot be used in a for loop because the type does not implement the 'Enumerable' aspect and does not contain a method named '{1}' that returns the 'Enumerator' type.",
|
|
9592
|
+
[2179 /* ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType */]: "For an expression to be used in a for loop, method '{0}' must return the 'Enumerator' type.",
|
|
9593
|
+
[2180 /* CannotInferTypeArguments */]: "Cannot infer type arguments",
|
|
9594
|
+
[2181 /* CanNotInferReturnTypeAddExplicitReturnTypeSpecifier */]: "Can not infer return type. Add explicit return type specifier.",
|
|
9595
|
+
[2183 /* VariableTypeIsNotSpecified */]: "Variable type is not specified.",
|
|
9596
|
+
[2182 /* ImmutableVariablesBustBeInitialized */]: "Immutable variables must be initialized.",
|
|
9597
|
+
[2184 /* CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter */]: "Cannot infer type of function literal. Add type specifier for parameter.",
|
|
9598
|
+
[2185 /* TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters */]: "Type parameter default can reference only previously declared type parameters.",
|
|
9599
|
+
[2186 /* RequiredTypeParametersCannotFollowTypeParametersWithDefaults */]: "Required type parameters cannot follow type parameters with defaults.",
|
|
9600
|
+
[2187 /* RequiredParametersCannotFollowOptionalParameters */]: "Required parameters cannot follow optional parameters.",
|
|
9601
|
+
[2188 /* ExpressionCannotBeReferenced */]: "Expression cannot be referenced.",
|
|
9602
|
+
[2189 /* TextIsMissingAmongPrimaryTextTranslationDefinitions */]: "Text is missing among primary text translation definitions.",
|
|
9603
|
+
[2190 /* DeclarationHasAlreadyBeenTranslated */]: "Declaration has already been translated.",
|
|
9604
|
+
[2191 /* TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters */]: "The number of translated parameters must be equal to the number of source parameters.",
|
|
9605
|
+
[2192 /* TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters */]: "The number of translated type parameters must be equal to the number of source type parameters.",
|
|
9606
|
+
[2193 /* TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName */]: "The name of the translated operator must me the same as source operator name.",
|
|
9607
|
+
[2194 /* TranslationOfFunctionTypeMustIncludeParameterList */]: "Translation of function type must include parameter list.",
|
|
9608
|
+
[2195 /* OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary */]: "Only one text translation package should be marked as primary (for the same translating package).",
|
|
9609
|
+
[2196 /* Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 */]: "Declarations that have the same source names must have the same translated names.\nDeclarations\n{0}\nand\n{1}\nhave the same source names, but different translated names: '{2}' and '{3}'.",
|
|
9610
|
+
[2197 /* TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 */]: "Declarations that have different source names must have different translated names.\nTranslated declarations\n{0}\nand\n{1}\nhave the same translated names, but different source names: '{2}' and '{3}'.",
|
|
9611
|
+
[2198 /* TranslatedOverridingMember0MustTheSameNameAsBaseMember1 */]: "Translated derived member '{0}' must have the same name as base member '{1}'.",
|
|
9612
|
+
[2199 /* TextTranslationAlreadyExistsInTheTextTranslationPackage */]: "Text translation already exists in the text translation package.",
|
|
9613
|
+
[2200 /* PackageDoesNotContainImplementationOf0 */]: "Package does not contain implementation of '{0}'.",
|
|
9614
|
+
[2201 /* TypeDoesNotContainImplementationOf0 */]: "Type does not contain implementation of '{0}'.",
|
|
9615
|
+
[2202 /* ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0 */]: "Implementation variable must be mutable to match interface package variable '{0}'.",
|
|
9616
|
+
[2203 /* ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 */]: "Implementation function must be 'async' to match interface package function '{0}'.",
|
|
9617
|
+
[2204 /* ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 */]: "Implementation function must not be 'async' to match interface package function '{0}'.",
|
|
9618
|
+
[2205 /* ImplementationTypeMustBeBasicToMatchInterfacePackageType0 */]: "Implementation type must be 'basic' to match interface package type '{0}'.",
|
|
9619
|
+
[2206 /* ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0 */]: "Implementation type must not be 'abstract' to match interface package type '{0}'.",
|
|
9620
|
+
[2207 /* ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0 */]: "Implementation type member must be 'basic' to match interface package type member '{0}'.",
|
|
9621
|
+
[2208 /* ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0 */]: "Implementation type member must not be 'abstract' to match interface package type member '{0}'.",
|
|
9622
|
+
[2209 /* ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 */]: "Implementation type member must have write function to match interface package type member '{0}'.",
|
|
9623
|
+
[2210 /* BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop */]: "'break loop' and 'continue loop' statements can only be used inside a loop.",
|
|
9624
|
+
[2211 /* BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock */]: "'break loop' and 'continue loop' statements cannot be used in 'finally' block.",
|
|
9625
|
+
[2212 /* TheCodeWasExpectedToBeUnreachable */]: "The code was expected to be unreachable.",
|
|
9626
|
+
[2213 /* CorrespondingReductionSourceTypeMemberNotFound */]: "Corresponding reduction source type member not found.",
|
|
9627
|
+
[2214 /* OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified */]: "Only the types present in the base types list of the reduction source can be specified as the base types of a reduced type.",
|
|
9628
|
+
[2215 /* ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember */]: "Reduced type member must have the same type as reduction source member.",
|
|
9629
|
+
[2216 /* ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember */]: "Reduced type member must have the same hiding level as reduction source member.",
|
|
9630
|
+
[2217 /* ReducedTypeFieldMustBeImmutableToMatchReductionSourceField */]: "Reduced type field must be immutable to match reduction source field.",
|
|
9631
|
+
[2218 /* ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod */]: "Reduced type method must be 'async' to match reduction source method.",
|
|
9632
|
+
[2219 /* ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod */]: "Reduced type method must not be 'async' to match reduction source method.",
|
|
9633
|
+
[2220 /* ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember */]: "Reduced type member must have no write function to match reduction source member.",
|
|
9634
|
+
[2221 /* StructureFieldsMustBeImmutable */]: "Structure fields must be constant.",
|
|
9635
|
+
[2222 /* StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable */]: "Structure fields must be constant. Automatically created stored field is not constant.",
|
|
9636
|
+
[2223 /* FieldTypeCausesRecursiveStructureLayout */]: "Field type causes recursive structure layout.",
|
|
9637
|
+
[2224 /* QuestionOperatorCanBeUsedOnlyInSpecificExpressions */]: "Question operator can be used only in member access, indexed access, dereference or call expressions.",
|
|
9638
|
+
[2225 /* BaseTypeListMustNotBeEmpty */]: "Base type list must not be empty.",
|
|
9639
|
+
[2226 /* ObjectParameterMustBeTheFirstParameter */]: "An 'object' parameter must be the first parameter.",
|
|
9640
|
+
[2227 /* ObjectParameterCannotBeDeclaredHere */]: "An 'object' parameter cannot be declared here.",
|
|
9641
|
+
[2228 /* OperatorCannotBeAsync */]: "Operator cannot be async.",
|
|
9642
|
+
[2229 /* OperatorCannotContainTypeParameterDeclarations */]: "Operator cannot contain type parameter declarations.",
|
|
9643
|
+
[2230 /* TypeNameExpectedAtLastQualifier */]: "Type name expected.",
|
|
9638
9644
|
[3e3 /* CannotFindTsLibDirectoryBaseSearchPaths0 */]: "Can not find directory with TypeScript library. Base search paths: {0}.",
|
|
9639
9645
|
[3001 /* SourceFile0IsNotPartOfThePackageAndWontBeLoaded */]: "Source file '{0}' is not part of the package and won't be loaded.",
|
|
9640
9646
|
[3002 /* ProgramWithoutMainPackageCannotBeCompiled */]: "Program without main package cannot be compiled.",
|
|
@@ -9745,181 +9751,184 @@ var russianErrorMessages = {
|
|
|
9745
9751
|
[2010 /* IndexerNotFound */]: "\u0418\u043D\u0434\u0435\u043A\u0441\u0430\u0442\u043E\u0440 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.",
|
|
9746
9752
|
[2011 /* IndexerWithTheGivenParameterNamesNotFound */]: "\u0418\u043D\u0434\u0435\u043A\u0441\u0430\u0442\u043E\u0440 \u0441 \u0437\u0430\u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u0438\u043C\u0435\u043D\u0430\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.",
|
|
9747
9753
|
[2053 /* BaseCannotBeUsedInThisContext */]: "'\u043E\u0441\u043D\u043E\u0432\u0430' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u044D\u0442\u043E\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0435.",
|
|
9748
|
-
[
|
|
9749
|
-
[
|
|
9750
|
-
[2055 /*
|
|
9751
|
-
[2056 /*
|
|
9752
|
-
[
|
|
9753
|
-
[
|
|
9754
|
-
[2060 /*
|
|
9755
|
-
[2061 /*
|
|
9756
|
-
[2062 /*
|
|
9757
|
-
[2063 /*
|
|
9758
|
-
[2064 /*
|
|
9759
|
-
[2065 /*
|
|
9760
|
-
[2066 /*
|
|
9761
|
-
[2067 /*
|
|
9762
|
-
[2068 /*
|
|
9763
|
-
[2069 /*
|
|
9764
|
-
[2070 /*
|
|
9765
|
-
[2071 /*
|
|
9766
|
-
[2072 /*
|
|
9767
|
-
[2073 /*
|
|
9768
|
-
[2074 /*
|
|
9769
|
-
[2075 /*
|
|
9770
|
-
[2076 /*
|
|
9771
|
-
[2077 /*
|
|
9772
|
-
[2078 /*
|
|
9773
|
-
[2079 /*
|
|
9774
|
-
[2080 /*
|
|
9775
|
-
[2081 /*
|
|
9776
|
-
[2082 /*
|
|
9777
|
-
[2083 /*
|
|
9778
|
-
[2084 /*
|
|
9779
|
-
[2085 /*
|
|
9780
|
-
[2086 /*
|
|
9781
|
-
[2087 /*
|
|
9782
|
-
[2088 /*
|
|
9783
|
-
[2089 /*
|
|
9784
|
-
[2090 /*
|
|
9785
|
-
[2091 /*
|
|
9786
|
-
[2092 /*
|
|
9787
|
-
[2093 /*
|
|
9788
|
-
[2094 /*
|
|
9789
|
-
[2095 /*
|
|
9790
|
-
[2096 /*
|
|
9791
|
-
[2097 /*
|
|
9792
|
-
[2098 /*
|
|
9793
|
-
[2099 /*
|
|
9754
|
+
[2054 /* BaseCannotBeUsedInStaticContext */]: "'\u043E\u0441\u043D\u043E\u0432\u0430' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043E \u0432\u0441\u0435\u043E\u0431\u0449\u0435\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0435.",
|
|
9755
|
+
[2059 /* BaseCannotBeUsedAsAnExpressionInItself */]: "'\u043E\u0441\u043D\u043E\u0432\u0430' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F.",
|
|
9756
|
+
[2055 /* OverriddenMethodNotFound */]: "\u0411\u0430\u0437\u043E\u0432\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.",
|
|
9757
|
+
[2056 /* ObjectCannotBeUsedInThisContext */]: "'\u043E\u0431\u044A\u0435\u043A\u0442' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u044D\u0442\u043E\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0435.",
|
|
9758
|
+
[2057 /* ObjectCannotBeUsedInStaticContext */]: "'\u043E\u0431\u044A\u0435\u043A\u0442' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043E \u0432\u0441\u0435\u043E\u0431\u0449\u0435\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0435.",
|
|
9759
|
+
[2058 /* OwnConstructorCannotBeCalledHere */]: "\u0421\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0432\u044B\u0437\u0432\u0430\u043D \u0442\u043E\u043B\u044C\u043A\u043E \u0438\u0437 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430.",
|
|
9760
|
+
[2060 /* InterfacePackageMustNotContainImplementation */]: "\u0418\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u044B\u0439 \u043F\u0430\u043A\u0435\u0442 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E.",
|
|
9761
|
+
[2061 /* InterfacePackageVariablesMustNotHaveInitializers */]: "\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435 \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F.",
|
|
9762
|
+
[2062 /* BodyIsMissing */]: "\u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0435\u043B\u043E.",
|
|
9763
|
+
[2063 /* AbstractTypeMembersMustNotHaveBody */]: "\u0410\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u0435 \u0447\u043B\u0435\u043D\u044B \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0442\u0435\u043B\u0430.",
|
|
9764
|
+
[2064 /* MembersOfAspectTypeMustNotHaveBody */]: "\u0427\u043B\u0435\u043D\u044B \u0430\u0441\u043F\u0435\u043A\u0442\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0442\u0435\u043B\u0430.",
|
|
9765
|
+
[2065 /* AspectTypeFieldsMustBeAbstract */]: "\u041F\u043E\u043B\u044F \u0430\u0441\u043F\u0435\u043A\u0442\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u043C\u0438.",
|
|
9766
|
+
[2066 /* DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F, \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435 \u0442\u0435\u0433\u043E\u043C '\u0412\u0441\u0442\u0440\u043E\u0435\u043D\u043E\u0412\u041F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0443', \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0442\u0435\u043B\u0430.",
|
|
9767
|
+
[2067 /* ReducedTypeMembersMustNotHaveBody */]: "\u0427\u043B\u0435\u043D\u044B \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0442\u0435\u043B\u0430.",
|
|
9768
|
+
[2068 /* AbstractFieldsMustNotHaveInitializers */]: "\u0410\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u0435 \u043F\u043E\u043B\u044F \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F.",
|
|
9769
|
+
[2069 /* ReducedTypeFieldsMustNotHaveInitializers */]: "\u041F\u043E\u043B\u044F \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F.",
|
|
9770
|
+
[2070 /* PackageIsAlreadyImported */]: "\u041F\u0430\u043A\u0435\u0442 \u0443\u0436\u0435 \u0438\u043C\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D.",
|
|
9771
|
+
[2071 /* OnlySubprogramsWithReturnTypeCanReturnValue */]: "\u0412\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043C\u043E\u0433\u0443\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u0444\u0443\u043D\u043A\u0446\u0438\u0438, \u0438\u043C\u0435\u044E\u0449\u0438\u0435 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0439 \u0442\u0438\u043F.",
|
|
9772
|
+
[2072 /* FunctionsUsingYieldStatementCannotReturnValue */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u0438, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0449\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 '\u0432\u044B\u0434\u0430\u0442\u044C', \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
|
|
9773
|
+
[2073 /* YieldStatementCannotBeUsedInAnonymousFunctions */]: "\u041A\u043E\u043C\u0430\u043D\u0434\u0430 '\u0432\u044B\u0434\u0430\u0442\u044C' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0431\u0435\u0437\u044B\u043C\u044F\u043D\u043D\u044B\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u0445.",
|
|
9774
|
+
[2074 /* YieldStatementCannotBeUsedHere */]: "\u041A\u043E\u043C\u0430\u043D\u0434\u0430 '\u0432\u044B\u0434\u0430\u0442\u044C' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0434\u0435\u0441\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F.",
|
|
9775
|
+
[2075 /* FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u0438, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0449\u0438\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 '\u0432\u044B\u0434\u0430\u0442\u044C', \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0439 \u0442\u0438\u043F '\u041F\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u043C\u044B\u0439'.",
|
|
9776
|
+
[2076 /* YieldStatementCannotBeUsedInTryStatementThatHasCatchClause */]: "\u041A\u043E\u043C\u0430\u043D\u0434\u0430 '\u0432\u044B\u0434\u0430\u0442\u044C' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0431\u043B\u043E\u043A\u0435 '\u043F\u043E\u043F\u044B\u0442\u043A\u0430', \u0438\u043C\u0435\u044E\u0449\u0435\u043C \u0431\u043B\u043E\u043A '\u043B\u043E\u0432\u0443\u0448\u043A\u0430'.",
|
|
9777
|
+
[2077 /* YieldStatementCannotBeUsedInFinallyBlock */]: "\u041A\u043E\u043C\u0430\u043D\u0434\u0430 '\u0432\u044B\u0434\u0430\u0442\u044C' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0431\u043B\u043E\u043A\u0435 '\u043D\u0430\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u043A'.",
|
|
9778
|
+
[2078 /* SubprogramMustReturnValue */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u0434\u043E\u043B\u0436\u043D\u0430 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
|
|
9779
|
+
[2079 /* ResultVariableCannotBeUsedInFunctionsUsingYieldStatement */]: "\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F '\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u0445, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0449\u0438\u0445 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 '\u0432\u044B\u0434\u0430\u0442\u044C'.",
|
|
9780
|
+
[2080 /* TypeAliasReferencesItself */]: "\u0422\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u0442\u0438\u043F \u0441\u0441\u044B\u043B\u0430\u0435\u0442\u0441\u044F \u0441\u0430\u043C \u043D\u0430 \u0441\u0435\u0431\u044F.",
|
|
9781
|
+
[2081 /* ReducedTypeReferencesItself */]: "\u0421\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u044B\u0439 \u0442\u0438\u043F \u0441\u0441\u044B\u043B\u0430\u0435\u0442\u0441\u044F \u0441\u0430\u043C \u043D\u0430 \u0441\u0435\u0431\u044F.",
|
|
9782
|
+
[2082 /* TypeParameterHasCircularConstraint */]: "\u041E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u043E\u0431\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0446\u0438\u043A\u043B.",
|
|
9783
|
+
[2083 /* BaseTypeCausesInheritanceCycle */]: "\u0411\u0430\u0437\u043E\u0432\u044B\u0439 \u0442\u0438\u043F \u043F\u0440\u0438\u0432\u043E\u0434\u0438\u0442 \u043A \u0446\u0438\u043A\u043B\u0443 \u043D\u0430\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F.",
|
|
9784
|
+
[2084 /* OnlyGenericTypesAndFunctionsCanBeSpecialized */]: "\u0422\u043E\u043B\u044C\u043A\u043E \u043E\u0431\u043E\u0431\u0449\u0451\u043D\u043D\u044B\u0435 \u0442\u0438\u043F\u044B \u0438 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u043C\u043E\u0433\u0443\u0442 \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F.",
|
|
9785
|
+
[2085 /* Expected0TypeArguments */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u0438\u0441\u044C \u0430\u0440\u0433\u0443\u043C\u0435\u043D\u0442\u044B \u043E\u0431\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0432 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0435 {0}.",
|
|
9786
|
+
[2086 /* ExpectedFrom0To1TypeArguments */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u0438\u0441\u044C \u0430\u0440\u0433\u0443\u043C\u0435\u043D\u0442\u044B \u043E\u0431\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0432 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u043E\u0442 {0} \u0434\u043E {1}.",
|
|
9787
|
+
[2087 /* Type0IsNotAssignableToConstraint1 */]: "\u0422\u0438\u043F '{0}' \u043D\u0435 \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u043C '{1}'.",
|
|
9788
|
+
[2088 /* VariableIsDeclaredButItsValueIsNeverRead */]: "\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0430, \u043D\u043E \u0435\u0451 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044F.",
|
|
9789
|
+
[2089 /* FunctionIsDeclaredButNotUsed */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0430, \u043D\u043E \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F.",
|
|
9790
|
+
[2090 /* TypeParameterIsDeclaredButNotUsed */]: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0442\u0438\u043F\u0430 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D, \u043D\u043E \u043D\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F.",
|
|
9791
|
+
[2091 /* DefaultConstructorArgumentsMustBeNamed */]: "\u0410\u0440\u0433\u0443\u043C\u0435\u043D\u0442\u044B \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043E\u043B\u0436\u043D\u044B \u043F\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044C\u0441\u044F \u0441 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435\u043C \u0438\u043C\u0435\u043D\u0438 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0435\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.",
|
|
9792
|
+
[2092 /* IncorrectBodyOfBasicAliasTypeMethod */]: "\u0422\u0435\u043B\u043E \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430, \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u0432 \u0442\u043E\u0436\u0434\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u043C \u0442\u0438\u043F\u0435, \u0434\u043E\u043B\u0436\u043D\u043E \u0441\u043E\u0441\u0442\u043E\u044F\u0442\u044C \u0438\u0437 \u0432\u044B\u0437\u043E\u0432\u0430 \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0441 \u0442\u0430\u043A\u0438\u043C\u0438 \u0436\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438 \u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u043C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u043C.",
|
|
9793
|
+
[2093 /* TheFollowingDeclarationsAreNotTranslated0 */]: "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043D\u044B:\n\n{0}.",
|
|
9794
|
+
[2094 /* TheFollowingDeclarationsAreNotTranslated0And1More */]: "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043D\u044B:\n\n{0}\n\n\u0438 \u0435\u0449\u0451 {1}.",
|
|
9795
|
+
[2095 /* TheFollowingTextsAreNotTranslated0 */]: "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u044B \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043D\u044B:\n\n{0}.",
|
|
9796
|
+
[2096 /* TheFollowingTextsAreNotTranslated0And1More */]: "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0442\u0435\u043A\u0441\u0442\u044B \u043D\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043D\u044B:\n\n{0}\n\n\u0438 \u0435\u0449\u0451 {1}.",
|
|
9797
|
+
[2097 /* OperatorFunction0MustNotHaveParameters */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 '{0}' \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u0430 \u0438\u043C\u0435\u0442\u044C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9798
|
+
[2098 /* OperatorFunction0MustHaveOneParameter */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 '{0}' \u0434\u043E\u043B\u0436\u043D\u0430 \u0438\u043C\u0435\u0442\u044C \u043E\u0434\u0438\u043D \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440.",
|
|
9799
|
+
[2099 /* OperatorFunction0MustHaveNoMoreThanOneParameter */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 '{0}' \u0434\u043E\u043B\u0436\u043D\u0430 \u0438\u043C\u0435\u0442\u044C \u043D\u0435 \u0431\u043E\u043B\u0435\u0435 \u043E\u0434\u043D\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.",
|
|
9800
|
+
[2100 /* CorrespondingBasicTypeMemberNotFound */]: "\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439 \u0431\u0430\u0437\u043E\u0432\u044B\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430.",
|
|
9801
|
+
[2101 /* AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier */]: "\u0410\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u0430\u044F \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0432\u044B\u0437\u0432\u0430\u043D\u0430 \u0442\u043E\u043B\u044C\u043A\u043E \u0438\u0437 \u0444\u0443\u043D\u043A\u0446\u0438\u0438, \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u043E\u0439 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u043E'.",
|
|
9794
9802
|
[1127 /* TagNameExpected */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u043C\u044F \u0442\u0435\u0433\u0430.",
|
|
9795
|
-
[
|
|
9796
|
-
[
|
|
9797
|
-
[
|
|
9798
|
-
[
|
|
9799
|
-
[
|
|
9800
|
-
[
|
|
9801
|
-
[
|
|
9802
|
-
[
|
|
9803
|
-
[
|
|
9804
|
-
[
|
|
9805
|
-
[
|
|
9806
|
-
[
|
|
9807
|
-
[
|
|
9808
|
-
[
|
|
9809
|
-
[
|
|
9810
|
-
[
|
|
9811
|
-
[
|
|
9812
|
-
[
|
|
9813
|
-
[
|
|
9814
|
-
[
|
|
9815
|
-
[
|
|
9816
|
-
[
|
|
9817
|
-
[
|
|
9818
|
-
[
|
|
9819
|
-
[
|
|
9820
|
-
[
|
|
9821
|
-
[
|
|
9822
|
-
[
|
|
9823
|
-
[
|
|
9824
|
-
[
|
|
9825
|
-
[
|
|
9826
|
-
[
|
|
9827
|
-
[
|
|
9828
|
-
[
|
|
9829
|
-
[
|
|
9830
|
-
[
|
|
9831
|
-
[
|
|
9832
|
-
[
|
|
9833
|
-
[
|
|
9834
|
-
[
|
|
9835
|
-
[
|
|
9836
|
-
[
|
|
9837
|
-
[
|
|
9838
|
-
[
|
|
9839
|
-
[
|
|
9840
|
-
[
|
|
9841
|
-
[
|
|
9842
|
-
[
|
|
9843
|
-
[
|
|
9844
|
-
[
|
|
9845
|
-
[
|
|
9846
|
-
[
|
|
9847
|
-
[
|
|
9848
|
-
[
|
|
9849
|
-
[
|
|
9850
|
-
[
|
|
9851
|
-
[
|
|
9852
|
-
[
|
|
9853
|
-
[
|
|
9854
|
-
[
|
|
9855
|
-
[
|
|
9856
|
-
[
|
|
9857
|
-
[
|
|
9858
|
-
[
|
|
9859
|
-
[
|
|
9860
|
-
[
|
|
9861
|
-
[
|
|
9862
|
-
[
|
|
9863
|
-
[
|
|
9864
|
-
[
|
|
9865
|
-
[
|
|
9866
|
-
[
|
|
9867
|
-
[
|
|
9868
|
-
[
|
|
9869
|
-
[
|
|
9870
|
-
[
|
|
9871
|
-
[
|
|
9872
|
-
[
|
|
9873
|
-
[
|
|
9874
|
-
[
|
|
9875
|
-
[
|
|
9876
|
-
[
|
|
9877
|
-
[
|
|
9878
|
-
[
|
|
9879
|
-
[
|
|
9880
|
-
[
|
|
9881
|
-
[
|
|
9882
|
-
[
|
|
9883
|
-
[
|
|
9884
|
-
[
|
|
9885
|
-
[
|
|
9886
|
-
[
|
|
9887
|
-
[
|
|
9888
|
-
[
|
|
9889
|
-
[
|
|
9890
|
-
[
|
|
9891
|
-
[
|
|
9892
|
-
[
|
|
9893
|
-
[
|
|
9894
|
-
[
|
|
9895
|
-
[
|
|
9896
|
-
[
|
|
9897
|
-
[
|
|
9898
|
-
[
|
|
9899
|
-
[
|
|
9900
|
-
[
|
|
9901
|
-
[
|
|
9902
|
-
[
|
|
9903
|
-
[
|
|
9904
|
-
[
|
|
9905
|
-
[
|
|
9906
|
-
[
|
|
9907
|
-
[
|
|
9908
|
-
[
|
|
9909
|
-
[
|
|
9910
|
-
[
|
|
9911
|
-
[
|
|
9912
|
-
[
|
|
9913
|
-
[
|
|
9914
|
-
[
|
|
9915
|
-
[
|
|
9916
|
-
[
|
|
9917
|
-
[
|
|
9918
|
-
[
|
|
9919
|
-
[
|
|
9920
|
-
[
|
|
9921
|
-
[
|
|
9922
|
-
[
|
|
9803
|
+
[2102 /* TagNotFound */]: "\u0422\u0435\u0433 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D.",
|
|
9804
|
+
[2103 /* TypeOrFunctionNameExpected */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u043C\u044F \u0442\u0438\u043F\u0430 \u0438\u043B\u0438 \u0444\u0443\u043D\u043A\u0446\u0438\u0438.",
|
|
9805
|
+
[2104 /* PackageNameOrAliasExpected */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u043C\u044F \u0438\u043B\u0438 \u043F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C \u043F\u0430\u043A\u0435\u0442\u0430.",
|
|
9806
|
+
[2105 /* ExpressionCanBeNull */]: "\u0412\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 '\u043F\u0443\u0441\u0442\u043E'.",
|
|
9807
|
+
[2106 /* TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator */]: "\u0412\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u0435 \u043F\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043D\u0438\u044F \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u0437\u043D\u0430\u043A \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 '?' \u0434\u043B\u044F \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043D\u0430 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 '\u043F\u0443\u0441\u0442\u043E'.",
|
|
9808
|
+
[2107 /* UnreachableCode */]: "\u041D\u0435\u0434\u043E\u0441\u0442\u0438\u0436\u0438\u043C\u044B\u0439 \u043A\u043E\u0434.",
|
|
9809
|
+
[2108 /* RecursionOccurredWhileCalculatingTheTypeOfTheExpression */]: "\u041F\u0440\u0438 \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0438 \u0442\u0438\u043F\u0430 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u0440\u0435\u043A\u0443\u0440\u0441\u0438\u044F. \u0427\u0442\u043E\u0431\u044B \u0438\u0441\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u044D\u0442\u0443 \u043E\u0448\u0438\u0431\u043A\u0443, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u044F\u0432\u043D\u043E\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0442\u0438\u043F\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439.",
|
|
9810
|
+
[2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */]: "\u041F\u0440\u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0438 \u0442\u0438\u043F\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u0440\u0435\u043A\u0443\u0440\u0441\u0438\u044F. \u0427\u0442\u043E\u0431\u044B \u0438\u0441\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u044D\u0442\u0443 \u043E\u0448\u0438\u0431\u043A\u0443, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u044F\u0432\u043D\u043E\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0442\u0438\u043F\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439.",
|
|
9811
|
+
[2110 /* ScopeAlreadyContainsDeclarationWithTheSameName */]: "\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C.",
|
|
9812
|
+
[2111 /* ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes */]: "\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C \u0438 \u0442\u0438\u043F\u0430\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9813
|
+
[2112 /* ParameterName0ConflictsWithAutomaticallyGeneratedVariableName */]: "\u0418\u043C\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 '{0}' \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u0435\u0442 \u0441 \u0438\u043C\u0435\u043D\u0435\u043C \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u043E\u0439 \u043A\u043E\u043C\u043F\u0438\u043B\u044F\u0442\u043E\u0440\u043E\u043C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.",
|
|
9814
|
+
[2113 /* PackageAlreadyContainsDeclarationWithTheSameName */]: "\u041F\u0430\u043A\u0435\u0442 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C.",
|
|
9815
|
+
[2114 /* PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes */]: "\u041F\u0430\u043A\u0435\u0442 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C \u0438 \u0442\u0438\u043F\u0430\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9816
|
+
[2115 /* PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount */]: "\u041F\u0430\u043A\u0435\u0442 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u0438\u043F \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C \u0438 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0441\u0435\u043A\u0430\u044E\u0449\u0438\u043C\u0441\u044F \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u043C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0442\u0438\u043F\u0430.",
|
|
9817
|
+
[2116 /* PackageAliasWithTheSameNameAlreadyExits */]: "\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C \u043F\u0430\u043A\u0435\u0442\u0430 \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.",
|
|
9818
|
+
[2117 /* TypeAlreadyContainsDeclarationWithTheSameName */]: "\u0422\u0438\u043F \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C.",
|
|
9819
|
+
[2118 /* TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes */]: "\u0422\u0438\u043F \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u0435\u0442\u043E\u0434 \u0441 \u0442\u0430\u043A\u0438\u043C \u0436\u0435 \u0438\u043C\u0435\u043D\u0435\u043C \u0438 \u0442\u0438\u043F\u0430\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9820
|
+
[2119 /* TypeAlreadyContainsConstructorWithTheSameParameterTypes */]: "\u0422\u0438\u043F \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440 \u0441 \u0442\u0430\u043A\u0438\u043C\u0438 \u0436\u0435 \u0442\u0438\u043F\u0430\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9821
|
+
[2120 /* TypeAlreadyContainsIndexerWithTheSameParameterTypes */]: "\u0422\u0438\u043F \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043D\u0434\u0435\u043A\u0441\u0430\u0442\u043E\u0440 \u0441 \u0442\u0430\u043A\u0438\u043C\u0438 \u0436\u0435 \u0442\u0438\u043F\u0430\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9822
|
+
[2121 /* TypeCanHaveOnlyOneDestructor */]: "\u0422\u0438\u043F \u043C\u043E\u0436\u0435\u0442 \u0438\u043C\u0435\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u0438\u043D \u0434\u0435\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440.",
|
|
9823
|
+
[2122 /* TypeCanHaveOnlyOneDereferenceOperator */]: "\u0422\u0438\u043F \u043C\u043E\u0436\u0435\u0442 \u0438\u043C\u0435\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u0438\u043D \u0440\u0430\u0437\u044B\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C.",
|
|
9824
|
+
[2123 /* VariableIsUsedBeforeItsDeclaration */]: "\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043E \u0435\u0451 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F.",
|
|
9825
|
+
[2124 /* VariableMayNotHasBeenAssignedBeforeUsage */]: "\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043C\u043E\u0433\u043B\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F.",
|
|
9826
|
+
[2125 /* NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043D\u0435 \u0432\u043E \u0432\u0441\u0435\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 '\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442' \u043C\u043E\u0433\u043B\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
|
|
9827
|
+
[2126 /* WriteFunctionHasNoCorrespondingReadFunction */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u0437\u0430\u043F\u0438\u0441\u0438 \u043D\u0435 \u0438\u043C\u0435\u0435\u0442 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0435\u0439 \u0444\u0443\u043D\u043A\u0446\u0438\u0438 \u0447\u0442\u0435\u043D\u0438\u044F.",
|
|
9828
|
+
[2127 /* TypeCannotHaveMultipleBaseObjectTypes */]: "\u0422\u0438\u043F \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u043C\u0435\u0442\u044C \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0432.",
|
|
9829
|
+
[2128 /* TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType */]: "\u0422\u0438\u043F, \u043D\u0435 \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0439 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0431\u0430\u0437\u043E\u0432\u044B\u0439', \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9830
|
+
[2129 /* StructureCannotBeUsedAsBaseType */]: "\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9831
|
+
[2130 /* ThisTypeIsAlreadyListedInBaseTypeList */]: "\u0422\u0438\u043F \u0443\u0436\u0435 \u0443\u043A\u0430\u0437\u0430\u043D \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432.",
|
|
9832
|
+
[2131 /* OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes */]: "\u0422\u043E\u043B\u044C\u043A\u043E \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0435 \u0438 \u0430\u0441\u043F\u0435\u043A\u0442\u043D\u044B\u0435 \u0442\u0438\u043F\u044B \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u044B \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0445.",
|
|
9833
|
+
[2132 /* StructureCanHaveOnlyAspectsAsBaseTypes */]: "\u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u044B \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0430\u0441\u043F\u0435\u043A\u0442\u044B.",
|
|
9834
|
+
[2133 /* AspectTypeCanHaveOnlyAspectsAsBaseTypes */]: "\u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u0430\u0441\u043F\u0435\u043A\u0442\u0430 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u0440\u0443\u0433\u0438\u0435 \u0430\u0441\u043F\u0435\u043A\u0442\u044B.",
|
|
9835
|
+
[2134 /* ModifierListAlreadyContains0Modifier */]: "\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '{0}'.",
|
|
9836
|
+
[2135 /* ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier */]: "\u0421\u043F\u0438\u0441\u043E\u043A \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u0432\u043D\u0435\u0448\u043D\u0435\u0439 \u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0439 \u0443\u0436\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '{0}'.",
|
|
9837
|
+
[2136 /* _0ModifierIsNotAllowedHere */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '{0}' \u0437\u0434\u0435\u0441\u044C \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C.",
|
|
9838
|
+
[2137 /* DeclarationCannotBePlacedInGroupHaving0Modifier */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0441\u043F\u043E\u043B\u0430\u0433\u0430\u0442\u044C\u0441\u044F \u0432 \u0433\u0440\u0443\u043F\u043F\u0435, \u0438\u043C\u0435\u044E\u0449\u0435\u0439 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '{0}'.",
|
|
9839
|
+
[2138 /* PackageConstructorDeclarationCannotHaveModifiers */]: "\u041A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440 \u043F\u0430\u043A\u0435\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u043C\u0435\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u0438\u043B\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u0430\u0433\u0430\u0442\u044C\u0441\u044F \u0432 \u0433\u0440\u0443\u043F\u043F\u0435, \u0438\u043C\u0435\u044E\u0449\u0435\u0439 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B.",
|
|
9840
|
+
[2139 /* PackageEntryPointDeclarationCannotHaveModifiers */]: "\u0411\u043B\u043E\u043A '\u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u043C\u0435\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u0438\u043B\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u0430\u0433\u0430\u0442\u044C\u0441\u044F \u0432 \u0433\u0440\u0443\u043F\u043F\u0435, \u0438\u043C\u0435\u044E\u0449\u0435\u0439 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B.",
|
|
9841
|
+
[2140 /* TranslationsCannotHaveModifiers */]: "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0438\u043C\u0435\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u0432 \u0438\u043B\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u0430\u0433\u0430\u0442\u044C\u0441\u044F \u0432 \u0433\u0440\u0443\u043F\u043F\u0435, \u0438\u043C\u0435\u044E\u0449\u0435\u0439 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B.",
|
|
9842
|
+
[2141 /* AbstractModifierCanOnlyBeUsedInAbstractObjectTypes */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u0430\u044F' \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0430\u0441\u043F\u0435\u043A\u0442\u0430\u0445 \u0438 \u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u0445 \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0445 \u0442\u0438\u043F\u0430\u0445.",
|
|
9843
|
+
[2142 /* BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0431\u0430\u0437\u043E\u0432\u0430\u044F' \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0445 \u0442\u0438\u043F\u0430\u0445, \u0430\u0441\u043F\u0435\u043A\u0442\u043D\u044B\u0445 \u0442\u0438\u043F\u0430\u0445 \u0438 \u043F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C\u0430\u0445 \u0442\u0438\u043F\u0430.",
|
|
9844
|
+
[2143 /* OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u0430\u044F' \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u0445 \u0438 \u0430\u0441\u043F\u0435\u043A\u0442\u043D\u044B\u0445 \u0442\u0438\u043F\u0430\u0445.",
|
|
9845
|
+
[2144 /* _0ModifierCannotBeUsedWith1Modifier */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '{0}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u043D\u043E \u0441 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '{1}'.",
|
|
9846
|
+
[2145 /* VariantValueCannotBeHidden */]: "\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0441\u043A\u0440\u044B\u0442\u043E.",
|
|
9847
|
+
[2146 /* BasicModifierCanOnlyBeAppliedToObjectTypes */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0431\u0430\u0437\u043E\u0432\u044B\u0439' \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043A \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u043C \u0442\u0438\u043F\u0430\u043C.",
|
|
9848
|
+
[2147 /* AbstractModifierCanOnlyBeAppliedToObjectTypes */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u0439' \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043A \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u044B\u043C \u0442\u0438\u043F\u0430\u043C.",
|
|
9849
|
+
[2148 /* NotBasicObjectTypesCannotHaveBasicMembers */]: "\u0427\u043B\u0435\u043D\u044B \u043E\u0431\u044A\u0435\u043A\u0442\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430, \u043D\u0435 \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u043E\u0433\u043E \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0431\u0430\u0437\u043E\u0432\u044B\u0439', \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0431\u0430\u0437\u043E\u0432\u044B\u043C\u0438.",
|
|
9850
|
+
[2149 /* BasicModifierCannotBeAppliedToAspectTypeFields */]: "\u041C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0431\u0430\u0437\u043E\u0432\u044B\u0439' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C\u0441\u044F \u043A \u043F\u043E\u043B\u044F\u043C \u0430\u0441\u043F\u0435\u043A\u0442\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9851
|
+
[2150 /* WriteFunctionMustHaveTheSameModifiersAsReadFunction */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u0437\u0430\u043F\u0438\u0441\u0438 \u0434\u043E\u043B\u0436\u043D\u0430 \u0438\u043C\u0435\u0442\u044C \u0442\u0430\u043A\u0438\u0435 \u0436\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B, \u043A\u0430\u043A \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0447\u0442\u0435\u043D\u0438\u044F.",
|
|
9852
|
+
[2151 /* WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u0437\u0430\u043F\u0438\u0441\u0438 \u0434\u043E\u043B\u0436\u043D\u0430 \u0438\u043C\u0435\u0442\u044C \u0442\u0430\u043A\u043E\u0439 \u0436\u0435 \u0438\u043B\u0438 \u0431\u043E\u043B\u0435\u0435 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0441\u043A\u0440\u044B\u0442\u043D\u043E\u0441\u0442\u0438, \u0447\u0435\u043C \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0447\u0442\u0435\u043D\u0438\u044F.",
|
|
9853
|
+
[2152 /* DeclarationConflictsWithBaseTypeMember0 */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u0435\u0442 \u0441 \u0447\u043B\u0435\u043D\u043E\u043C '{0}' \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9854
|
+
[2153 /* DeclarationConflictsWithBaseTypeMember0AddOverrideModifier */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u0435\u0442 \u0441 \u0447\u043B\u0435\u043D\u043E\u043C '{0}' \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430. \u0427\u0442\u043E\u0431\u044B \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044C \u0431\u0430\u0437\u043E\u0432\u044B\u0439 \u0447\u043B\u0435\u043D, \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 '\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u0430\u044F'.",
|
|
9855
|
+
[2154 /* DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u0435\u0442 \u0441 \u0447\u043B\u0435\u043D\u043E\u043C '{0}' \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430. \u042D\u0442\u043E\u0442 \u0447\u043B\u0435\u043D \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D.",
|
|
9856
|
+
[2155 /* DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u0435\u0442 \u0441 \u0447\u043B\u0435\u043D\u043E\u043C '{0}' \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430. \u0427\u0442\u043E\u0431\u044B \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044C \u0435\u0433\u043E, \u0442\u0438\u043F \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C \u0441 \u0442\u0438\u043F\u043E\u043C '{1}'.",
|
|
9857
|
+
[2156 /* DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u0435\u0442 \u0441 \u0447\u043B\u0435\u043D\u043E\u043C '{0}' \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430. \u0427\u0442\u043E\u0431\u044B \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044C \u0435\u0433\u043E, \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0439 \u0442\u0438\u043F \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C \u0441 \u0442\u0438\u043F\u043E\u043C '{1}'.",
|
|
9858
|
+
[2162 /* TypeDoesNotImplementMember0 */]: "\u0422\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0447\u043B\u0435\u043D '{0}'.",
|
|
9859
|
+
[2163 /* TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 */]: "\u0422\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0447\u043B\u0435\u043D '{0}'. \u0427\u043B\u0435\u043D '{1}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E, \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0438\u0445 \u0442\u0438\u043F\u044B \u043E\u0442\u043B\u0438\u0447\u0430\u044E\u0442\u0441\u044F.",
|
|
9860
|
+
[2164 /* TypeDoesNotImplementMember0ImplicitImplementation1IsAsync */]: "\u0422\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0447\u043B\u0435\u043D '{0}'. \u041C\u0435\u0442\u043E\u0434 '{1}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E, \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0432 \u043E\u0442\u043B\u0438\u0447\u0438\u0435 \u043E\u0442 \u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u043C.",
|
|
9861
|
+
[2165 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync */]: "\u0422\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0447\u043B\u0435\u043D '{0}'. \u041C\u0435\u0442\u043E\u0434 '{1}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E, \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0432 \u043E\u0442\u043B\u0438\u0447\u0438\u0435 \u043E\u0442 \u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u043C.",
|
|
9862
|
+
[2166 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable */]: "\u0422\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0447\u043B\u0435\u043D '{0}'. \u0427\u043B\u0435\u043D '{1}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E, \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C.",
|
|
9863
|
+
[2167 /* TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden */]: "\u0422\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0447\u043B\u0435\u043D '{0}'. \u0427\u043B\u0435\u043D '{1}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0433\u043E, \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0435\u0433\u043E \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0437\u0430\u043F\u0438\u0441\u0438 \u0441\u043A\u0440\u044B\u0442\u0430.",
|
|
9864
|
+
[2157 /* OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 */]: "\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0442\u0430\u043A\u043E\u0439 \u0436\u0435 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0441\u043A\u0440\u044B\u0442\u043D\u043E\u0441\u0442\u0438 \u043A\u0430\u043A \u0431\u0430\u0437\u043E\u0432\u044B\u0439 \u0447\u043B\u0435\u043D '{0}'.",
|
|
9865
|
+
[2158 /* OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync */]: "\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0439', \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0431\u0430\u0437\u043E\u0432\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 '{0}' \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u0442\u0430\u043A\u0438\u043C \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C.",
|
|
9866
|
+
[2159 /* OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync */]: "\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0439', \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0431\u0430\u0437\u043E\u0432\u044B\u0439 \u043C\u0435\u0442\u043E\u0434 '{0}' \u043D\u0435 \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u0442\u0430\u043A\u0438\u043C \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C.",
|
|
9867
|
+
[2160 /* OverridingFieldMustMustBeMutableToMatchBaseField0 */]: "\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0431\u0430\u0437\u043E\u0432\u043E\u043C\u0443 \u043F\u043E\u043B\u044E '{0}'.",
|
|
9868
|
+
[2161 /* OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 */]: "\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0437\u0430\u043F\u0438\u0441\u0438, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0431\u0430\u0437\u043E\u0432\u043E\u043C\u0443 \u0447\u043B\u0435\u043D\u0443 '{0}'.",
|
|
9869
|
+
[2168 /* CannotAccessAbstractMemberOfBaseType */]: "\u041D\u0435\u043B\u044C\u0437\u044F \u043E\u0431\u0440\u0430\u0442\u0438\u0442\u044C\u0441\u044F \u043A \u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u043E\u043C\u0443 \u0447\u043B\u0435\u043D\u0443 \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9870
|
+
[2169 /* TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 */]: "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0447\u043B\u0435\u043D\u044B \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u044E\u0442 \u043C\u0435\u0436\u0434\u0443 \u0441\u043E\u0431\u043E\u0439 \u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u044B:\n{0}",
|
|
9871
|
+
[2170 /* TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 */]: "\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0447\u043B\u0435\u043D\u044B \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u044E\u0442 \u043C\u0435\u0436\u0434\u0443 \u0441\u043E\u0431\u043E\u0439, \u043F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0438\u0445 \u0438\u043C\u0435\u043D\u0430 '{0}' \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u044F\u0437\u044B\u043A\u0435 \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u0430, \u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u044B:\n{1}",
|
|
9872
|
+
[2171 /* TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall */]: "\u041F\u0435\u0440\u0432\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0439 \u0431\u043B\u043E\u043A\u0430 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0432\u044B\u0437\u043E\u0432\u0430 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043B\u0438 \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430.",
|
|
9873
|
+
[2172 /* ThisCallCausesOwnConstructorCallCycle */]: "\u0414\u0430\u043D\u043D\u044B\u0439 \u0432\u044B\u0437\u043E\u0432 \u043F\u0440\u0438\u0432\u043E\u0434\u0438\u0442 \u043A \u0446\u0438\u043A\u043B\u0443 \u0432\u044B\u0437\u043E\u0432\u0430 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043E\u0432.",
|
|
9874
|
+
[2173 /* OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock */]: "\u0412\u044B\u0437\u043E\u0432 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0439 \u0431\u043B\u043E\u043A\u0430 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430.",
|
|
9875
|
+
[2174 /* BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock */]: "\u0412\u044B\u0437\u043E\u0432 \u0431\u0430\u0437\u043E\u0432\u043E\u0433\u043E \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u043E\u0439 \u0431\u043B\u043E\u043A\u0430 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0430.",
|
|
9876
|
+
[2175 /* Field0HasNoInitializerAndMayNotBeAssignedInConstructor */]: "\u041F\u043E\u043B\u0435 '{0}' \u043D\u0435 \u0438\u043C\u0435\u0435\u0442 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0438 \u0435\u043C\u0443 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0435.",
|
|
9877
|
+
[2176 /* Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor */]: "\u041F\u043E\u043B\u0435 '{0}' \u043D\u0435 \u0438\u043C\u0435\u0435\u0442 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0438 \u0435\u043C\u0443 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0435 \u043F\u0430\u043A\u0435\u0442\u0430.",
|
|
9878
|
+
[2177 /* Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor */]: "\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F '{0}' \u043D\u0435 \u0438\u043C\u0435\u0435\u0442 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0438 \u0435\u0439 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0435 \u043F\u0430\u043A\u0435\u0442\u0430.",
|
|
9879
|
+
[2178 /* ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 */]: "\u0412\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0430 '{0}' \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0446\u0438\u043A\u043B\u0435 '\u0434\u043B\u044F', \u043F\u043E\u0441\u043A\u043E\u043B\u044C\u043A\u0443 \u0435\u0433\u043E \u0442\u0438\u043F \u043D\u0435 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442 \u0430\u0441\u043F\u0435\u043A\u0442 '\u041F\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0435\u043C\u044B\u0439' \u0438 \u043D\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043C\u0435\u0442\u043E\u0434 \u0441 \u0438\u043C\u0435\u043D\u0435\u043C '{1}', \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u044E\u0449\u0438\u0439 \u0442\u0438\u043F '\u041F\u0435\u0440\u0435\u0431\u043E\u0440'.",
|
|
9880
|
+
[2179 /* ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType */]: "\u0427\u0442\u043E\u0431\u044B \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u043D\u043E \u0431\u044B\u043B\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0446\u0438\u043A\u043B\u0435 '\u0434\u043B\u044F', \u043C\u0435\u0442\u043E\u0434 '{0}' \u0434\u043E\u043B\u0436\u0435\u043D \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044C \u0442\u0438\u043F '\u041F\u0435\u0440\u0435\u0431\u043E\u0440'.",
|
|
9881
|
+
[2180 /* CannotInferTypeArguments */]: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0430\u0440\u0433\u0443\u043C\u0435\u043D\u0442\u044B \u0442\u0438\u043F\u0430.",
|
|
9882
|
+
[2181 /* CanNotInferReturnTypeAddExplicitReturnTypeSpecifier */]: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0439 \u0442\u0438\u043F. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u044F\u0432\u043D\u043E\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9883
|
+
[2183 /* VariableTypeIsNotSpecified */]: "\u041D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D \u0442\u0438\u043F \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439.",
|
|
9884
|
+
[2182 /* ImmutableVariablesBustBeInitialized */]: "\u041D\u0435\u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u043C \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043F\u0440\u0438\u0441\u0432\u043E\u0435\u043D\u043E \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435.",
|
|
9885
|
+
[2184 /* CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter */]: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0442\u0438\u043F \u0431\u0435\u0437\u044B\u043C\u044F\u043D\u043D\u043E\u0439 \u0444\u0443\u043D\u043A\u0446\u0438\u0438. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0442\u0438\u043F\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430.",
|
|
9886
|
+
[2185 /* TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters */]: "\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0442\u0438\u043F\u0430 \u043C\u043E\u0436\u0435\u0442 \u0441\u0441\u044B\u043B\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0440\u0430\u043D\u0435\u0435 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0442\u0438\u043F\u0430.",
|
|
9887
|
+
[2186 /* RequiredTypeParametersCannotFollowTypeParametersWithDefaults */]: "\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u0442\u0438\u043F\u0430 \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0437\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438 \u0442\u0438\u043F\u0430 \u0441\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.",
|
|
9888
|
+
[2187 /* RequiredParametersCannotFollowOptionalParameters */]: "\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0437\u0430 \u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u043C\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438.",
|
|
9889
|
+
[2188 /* ExpressionCannotBeReferenced */]: "\u041D\u0435\u043B\u044C\u0437\u044F \u0432\u0437\u044F\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435.",
|
|
9890
|
+
[2189 /* TextIsMissingAmongPrimaryTextTranslationDefinitions */]: "\u0422\u0435\u043A\u0441\u0442 \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0440\u0435\u0434\u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0439 \u043F\u0435\u0440\u0432\u0438\u0447\u043D\u044B\u0445 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u0432 \u0442\u0435\u043A\u0441\u0442\u043E\u0432.",
|
|
9891
|
+
[2190 /* DeclarationHasAlreadyBeenTranslated */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0431\u044B\u043B\u043E \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0435\u043D\u043E.",
|
|
9892
|
+
[2191 /* TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters */]: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0440\u0430\u0432\u043D\u043E \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9893
|
+
[2192 /* TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters */]: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0440\u0430\u0432\u043D\u043E \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0442\u0438\u043F\u0430.",
|
|
9894
|
+
[2193 /* TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName */]: "\u0418\u043C\u044F \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u043E\u0433\u043E \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u0430 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0442\u0430\u043A\u0438\u043C \u0436\u0435, \u043A\u0430\u043A \u0438\u043C\u044F \u0438\u0441\u0445\u043E\u0434\u043D\u043E\u0433\u043E \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u0430.",
|
|
9895
|
+
[2194 /* TranslationOfFunctionTypeMustIncludeParameterList */]: "\u041F\u0435\u0440\u0435\u0432\u043E\u0434 \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432.",
|
|
9896
|
+
[2195 /* OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary */]: "\u041B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u043F\u0430\u043A\u0435\u0442 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0430 \u0442\u0435\u043A\u0441\u0442\u043E\u0432 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u0435\u0440\u0432\u0438\u0447\u043D\u044B\u043C (\u0434\u043B\u044F \u043E\u0434\u043D\u043E\u0433\u043E \u0438 \u0442\u043E\u0433\u043E \u0436\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u043C\u043E\u0433\u043E \u043F\u0430\u043A\u0435\u0442\u0430).",
|
|
9897
|
+
[2196 /* Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F, \u0438\u043C\u0435\u044E\u0449\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u044B\u0435 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430, \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u044B\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430.\n\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F\n{0}\n\u0438\n{1}\n\u0438\u043C\u0435\u044E\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u044B\u0435 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430, \u043D\u043E \u0440\u0430\u0437\u043D\u044B\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430: '{2}' \u0438 '{3}'.",
|
|
9898
|
+
[2197 /* TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 */]: "\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F, \u0438\u043C\u0435\u044E\u0449\u0438\u0435 \u0440\u0430\u0437\u043D\u044B\u0435 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430, \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0440\u0430\u0437\u043D\u044B\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430.\n\u041F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0435 \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F\n{0}\n\u0438\n{1}\n\u0438\u043C\u0435\u044E\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u044B\u0435 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430, \u043D\u043E \u0440\u0430\u0437\u043D\u044B\u0435 \u0438\u0441\u0445\u043E\u0434\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430: '{2}' \u0438 '{3}'.",
|
|
9899
|
+
[2198 /* TranslatedOverridingMember0MustTheSameNameAsBaseMember1 */]: "\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u043D\u044B\u0439 \u043F\u0435\u0440\u0435\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 '{0}' \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0442\u0430\u043A\u043E\u0435 \u0436\u0435 \u0438\u043C\u044F, \u043A\u0430\u043A \u0431\u0430\u0437\u043E\u0432\u044B\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 '{1}'.",
|
|
9900
|
+
[2199 /* TextTranslationAlreadyExistsInTheTextTranslationPackage */]: "\u041F\u0435\u0440\u0435\u0432\u043E\u0434 \u0442\u0435\u043A\u0441\u0442\u0430 \u0443\u0436\u0435 \u0437\u0430\u0434\u0430\u043D \u0432 \u043F\u0430\u043A\u0435\u0442\u0435 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u043E\u0432 \u0442\u0435\u043A\u0441\u0442\u0430.",
|
|
9901
|
+
[2200 /* PackageDoesNotContainImplementationOf0 */]: "\u041F\u0430\u043A\u0435\u0442 \u043D\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E \u0434\u043B\u044F '{0}'.",
|
|
9902
|
+
[2201 /* TypeDoesNotContainImplementationOf0 */]: "\u0422\u0438\u043F \u043D\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E \u0434\u043B\u044F '{0}'.",
|
|
9903
|
+
[2202 /* ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u043E\u0439, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9904
|
+
[2203 /* ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0430\u044F \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u0430 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u0430\u044F', \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u0438 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9905
|
+
[2204 /* ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0430\u044F \u0444\u0443\u043D\u043A\u0446\u0438\u044F \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u0430 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u0430\u044F', \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u0438 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9906
|
+
[2205 /* ImplementationTypeMustBeBasicToMatchInterfacePackageType0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0438\u0439 \u0442\u0438\u043F \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0431\u0430\u0437\u043E\u0432\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0442\u0438\u043F\u0443 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9907
|
+
[2206 /* ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0438\u0439 \u0442\u0438\u043F \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0442\u0438\u043F\u0443 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9908
|
+
[2207 /* ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0438\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0431\u0430\u0437\u043E\u0432\u044B\u0439', \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0447\u043B\u0435\u043D\u0443 \u0442\u0438\u043F\u0430 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9909
|
+
[2208 /* ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0438\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0431\u0441\u0442\u0440\u0430\u043A\u0442\u043D\u044B\u0439', \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0447\u043B\u0435\u043D\u0443 \u0442\u0438\u043F\u0430 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9910
|
+
[2209 /* ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 */]: "\u0420\u0435\u0430\u043B\u0438\u0437\u0443\u044E\u0449\u0438\u0439 \u0447\u043B\u0435\u043D \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0437\u0430\u043F\u0438\u0441\u0438, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0447\u043B\u0435\u043D\u0443 \u0442\u0438\u043F\u0430 '{0}', \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u043D\u043E\u043C\u0443 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043D\u043E\u043C \u043F\u0430\u043A\u0435\u0442\u0435.",
|
|
9911
|
+
[2210 /* BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop */]: "\u041A\u043E\u043C\u0430\u043D\u0434\u044B '\u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u0446\u0438\u043A\u043B' \u0438 '\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0446\u0438\u043A\u043B' \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0442\u0435\u043B\u0435 \u0446\u0438\u043A\u043B\u0430.",
|
|
9912
|
+
[2211 /* BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock */]: "\u041A\u043E\u043C\u0430\u043D\u0434\u044B '\u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u0446\u0438\u043A\u043B' \u0438 '\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0446\u0438\u043A\u043B' \u043D\u0435 \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0431\u043B\u043E\u043A\u0435 '\u043D\u0430\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u043A'.",
|
|
9913
|
+
[2212 /* TheCodeWasExpectedToBeUnreachable */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E \u043A\u043E\u0434 \u0431\u0443\u0434\u0435\u0442 \u043D\u0435\u0434\u043E\u0441\u0442\u0438\u0436\u0438\u043C.",
|
|
9914
|
+
[2213 /* CorrespondingReductionSourceTypeMemberNotFound */]: "\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439 \u0447\u043B\u0435\u043D \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9915
|
+
[2214 /* OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified */]: "\u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u0438\u043F\u044B, \u043F\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9916
|
+
[2215 /* ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember */]: "\u0427\u043B\u0435\u043D \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0442\u0430\u043A\u043E\u0439 \u0436\u0435 \u0442\u0438\u043F \u043A\u0430\u043A \u0447\u043B\u0435\u043D \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9917
|
+
[2216 /* ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember */]: "\u0427\u043B\u0435\u043D \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0442\u0430\u043A\u043E\u0439 \u0436\u0435 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0441\u043A\u0440\u044B\u0442\u043D\u043E\u0441\u0442\u0438 \u043A\u0430\u043A \u0447\u043B\u0435\u043D \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9918
|
+
[2217 /* ReducedTypeFieldMustBeImmutableToMatchReductionSourceField */]: "\u041F\u043E\u043B\u0435 \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u043B\u044E \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9919
|
+
[2218 /* ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod */]: "\u041C\u0435\u0442\u043E\u0434 \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0439', \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0442\u043E\u0434\u0443 \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9920
|
+
[2219 /* ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod */]: "\u041C\u0435\u0442\u043E\u0434 \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u043E\u043C\u0435\u0447\u0435\u043D \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043E\u043C '\u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0439', \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0442\u043E\u0434\u0443 \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9921
|
+
[2220 /* ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember */]: "\u0427\u043B\u0435\u043D \u0441\u043E\u043A\u0440\u0430\u0449\u0451\u043D\u043D\u043E\u0433\u043E \u0442\u0438\u043F\u0430 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0438\u043C\u0435\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0437\u0430\u043F\u0438\u0441\u0438, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0447\u043B\u0435\u043D\u0443 \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0442\u0438\u043F\u0430.",
|
|
9922
|
+
[2221 /* StructureFieldsMustBeImmutable */]: "\u041F\u043E\u043B\u044F \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C\u0438.",
|
|
9923
|
+
[2222 /* StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable */]: "\u041F\u043E\u043B\u044F \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u044B \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u043D\u0435\u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C\u0438. \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u043E\u0435 \u0445\u0440\u0430\u043D\u0438\u043C\u043E\u0435 \u043F\u043E\u043B\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0438\u0437\u043C\u0435\u043D\u044F\u0435\u043C\u044B\u043C.",
|
|
9924
|
+
[2223 /* FieldTypeCausesRecursiveStructureLayout */]: "\u0422\u0438\u043F \u043F\u043E\u043B\u044F \u043F\u0440\u0438\u0432\u043E\u0434\u0438\u0442 \u043A \u0440\u0435\u043A\u0443\u0440\u0441\u0438\u0432\u043D\u043E\u0439 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0435 \u0442\u0438\u043F\u0430.",
|
|
9925
|
+
[2224 /* QuestionOperatorCanBeUsedOnlyInSpecificExpressions */]: "\u041E\u043F\u0435\u0440\u0430\u0442\u043E\u0440 '?' \u043C\u043E\u0436\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u043E \u0438\u043C\u0435\u043D\u0438, \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u043E \u0438\u043D\u0434\u0435\u043A\u0441\u0443, \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u043E \u0441\u0441\u044B\u043B\u043A\u0435 \u0438 \u0432\u044B\u0437\u043E\u0432\u0430.",
|
|
9926
|
+
[2225 /* BaseTypeListMustNotBeEmpty */]: "\u0421\u043F\u0438\u0441\u043E\u043A \u0431\u0430\u0437\u043E\u0432\u044B\u0445 \u0442\u0438\u043F\u043E\u0432 \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u0443\u0441\u0442\u044B\u043C.",
|
|
9927
|
+
[2226 /* ObjectParameterMustBeTheFirstParameter */]: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 '\u043E\u0431\u044A\u0435\u043A\u0442' \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u0435\u0440\u0432\u044B\u043C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C.",
|
|
9928
|
+
[2227 /* ObjectParameterCannotBeDeclaredHere */]: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 '\u043E\u0431\u044A\u0435\u043A\u0442' \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0431\u044A\u044F\u0432\u0438\u0442\u044C \u0437\u0434\u0435\u0441\u044C.",
|
|
9929
|
+
[2228 /* OperatorCannotBeAsync */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u043E\u0439.",
|
|
9930
|
+
[2229 /* OperatorCannotContainTypeParameterDeclarations */]: "\u0424\u0443\u043D\u043A\u0446\u0438\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u0442\u0438\u043F\u0430.",
|
|
9931
|
+
[2230 /* TypeNameExpectedAtLastQualifier */]: "\u041E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u043C\u044F \u0442\u0438\u043F\u0430.",
|
|
9923
9932
|
[3e3 /* CannotFindTsLibDirectoryBaseSearchPaths0 */]: "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0439\u0442\u0438 \u043F\u0430\u043F\u043A\u0443 \u0441\u043E \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0439 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u043E\u0439 TypeScript. \u041F\u0443\u0442\u0438, \u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u043B\u0441\u044F \u043F\u043E\u0438\u0441\u043A: {0}.",
|
|
9924
9933
|
[3001 /* SourceFile0IsNotPartOfThePackageAndWontBeLoaded */]: "\u0418\u0441\u0445\u043E\u0434\u043D\u044B\u0439 \u0444\u0430\u0439\u043B '{0}' \u043D\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0447\u0430\u0441\u0442\u044C\u044E \u043F\u0430\u043A\u0435\u0442\u0430 \u0438 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D.",
|
|
9925
9934
|
[3002 /* ProgramWithoutMainPackageCannotBeCompiled */]: "\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430 \u0431\u0435\u0437 \u0433\u043B\u0430\u0432\u043D\u043E\u0433\u043E \u043F\u0430\u043A\u0435\u0442\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0441\u043A\u043E\u043C\u043F\u0438\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0430.",
|
|
@@ -13442,7 +13451,7 @@ var BaseTypeListParser = class extends ListParser {
|
|
|
13442
13451
|
const baseTypeList = this.parseBaseTypeList();
|
|
13443
13452
|
const elements = baseTypeList.elements;
|
|
13444
13453
|
if (elements.length === 0 || elements.every((e) => e.kind === 0 /* Token */)) {
|
|
13445
|
-
this.parser.tryReportDiagnosticAtCurrentRange(
|
|
13454
|
+
this.parser.tryReportDiagnosticAtCurrentRange(2225 /* BaseTypeListMustNotBeEmpty */);
|
|
13446
13455
|
}
|
|
13447
13456
|
return new ExtendsClause(extendsKeyword, baseTypeList, this.parser.rangeFrom(extendsClauseStart));
|
|
13448
13457
|
}
|
|
@@ -13455,7 +13464,7 @@ var BaseTypeListParser = class extends ListParser {
|
|
|
13455
13464
|
const baseTypeList = this.parseBaseTypeList();
|
|
13456
13465
|
const elements = baseTypeList.elements;
|
|
13457
13466
|
if (elements.length === 0 || elements.every((e) => e.kind === 0 /* Token */)) {
|
|
13458
|
-
this.parser.tryReportDiagnosticAtCurrentRange(
|
|
13467
|
+
this.parser.tryReportDiagnosticAtCurrentRange(2225 /* BaseTypeListMustNotBeEmpty */);
|
|
13459
13468
|
}
|
|
13460
13469
|
return new ReducesClause(extendsKeyword, baseTypeList, this.parser.rangeFrom(extendsClauseStart));
|
|
13461
13470
|
}
|
|
@@ -19457,6 +19466,7 @@ var TranslationPackageConfiguration = class {
|
|
|
19457
19466
|
this.translationLocale = translationLocale;
|
|
19458
19467
|
this.locale = locale;
|
|
19459
19468
|
this.dialect = dialect;
|
|
19469
|
+
this.kind = "name-translation-package";
|
|
19460
19470
|
this.name = new PackageName2([...this.targetPackageName.segments, new Name(localeToString(this.translationLocale))]);
|
|
19461
19471
|
}
|
|
19462
19472
|
};
|
|
@@ -19471,6 +19481,7 @@ var TextTranslationPackageConfiguration = class {
|
|
|
19471
19481
|
this.targetPlatform = targetPlatform;
|
|
19472
19482
|
this.packageImportLocales = packageImportLocales;
|
|
19473
19483
|
this.automaticallyImportedPackages = automaticallyImportedPackages;
|
|
19484
|
+
this.kind = "text-translation-package";
|
|
19474
19485
|
this.name = new PackageName2([...this.targetPackageName.segments, new Name("~"), new Name(this.translationLocale)]);
|
|
19475
19486
|
}
|
|
19476
19487
|
};
|
|
@@ -19486,6 +19497,7 @@ var ProgramPackageConfiguration = class {
|
|
|
19486
19497
|
this.jsProjectRootUri = jsProjectRootUri;
|
|
19487
19498
|
this.packageImportLocales = packageImportLocales;
|
|
19488
19499
|
this.automaticallyImportedPackages = automaticallyImportedPackages;
|
|
19500
|
+
this.kind = "program-package";
|
|
19489
19501
|
}
|
|
19490
19502
|
isInterfacePackage() {
|
|
19491
19503
|
switch (this.targetPlatform.kind) {
|
|
@@ -19628,13 +19640,13 @@ var ConfigurationConverter = class _ConfigurationConverter {
|
|
|
19628
19640
|
static {
|
|
19629
19641
|
this.uriRegexp = /^[^/\s]+:\/?[^/\s]+(\/[^/\s]+)*\/?$/;
|
|
19630
19642
|
}
|
|
19631
|
-
static convert(
|
|
19632
|
-
let
|
|
19633
|
-
|
|
19634
|
-
for (const configuration of configurations) {
|
|
19643
|
+
static convert(configuration, packageOrGroupUri, defaultLocale, defaultDialect) {
|
|
19644
|
+
let result;
|
|
19645
|
+
if (configuration !== void 0) {
|
|
19635
19646
|
switch (configuration.type) {
|
|
19636
19647
|
case "Package":
|
|
19637
|
-
|
|
19648
|
+
case void 0:
|
|
19649
|
+
result = this.convertPackageConfiguration(
|
|
19638
19650
|
configuration,
|
|
19639
19651
|
packageOrGroupUri,
|
|
19640
19652
|
defaultLocale,
|
|
@@ -19642,25 +19654,21 @@ var ConfigurationConverter = class _ConfigurationConverter {
|
|
|
19642
19654
|
);
|
|
19643
19655
|
break;
|
|
19644
19656
|
case "PackageGroup":
|
|
19645
|
-
|
|
19657
|
+
result = this.convertPackageGroupConfiguration(configuration);
|
|
19646
19658
|
break;
|
|
19647
19659
|
case "NameTranslations":
|
|
19648
|
-
|
|
19660
|
+
result = this.convertNameTranslationsConfiguration(configuration, defaultLocale, defaultDialect);
|
|
19649
19661
|
break;
|
|
19650
19662
|
case "TextTranslations":
|
|
19651
|
-
|
|
19663
|
+
result = this.convertTextTranslationsConfiguration(configuration, defaultLocale, defaultDialect);
|
|
19652
19664
|
break;
|
|
19653
19665
|
default:
|
|
19654
19666
|
Debug.never(configuration);
|
|
19655
19667
|
}
|
|
19656
|
-
|
|
19657
|
-
|
|
19658
|
-
}
|
|
19659
|
-
}
|
|
19660
|
-
if (packageConfiguration === void 0 && packageGroupConfiguration === void 0) {
|
|
19661
|
-
packageConfiguration = createDefaultPackageConfiguration(packageOrGroupUri, defaultLocale, defaultDialect);
|
|
19668
|
+
} else {
|
|
19669
|
+
result = createDefaultPackageConfiguration(packageOrGroupUri, defaultLocale, defaultDialect);
|
|
19662
19670
|
}
|
|
19663
|
-
return
|
|
19671
|
+
return result;
|
|
19664
19672
|
}
|
|
19665
19673
|
static convertPackageConfiguration(configuration, packageOrGroupUri, defaultLocale, defaultDialect) {
|
|
19666
19674
|
const packageName = PackageName2.parse(configuration.name);
|
|
@@ -19865,6 +19873,9 @@ var ConfigurationConverter = class _ConfigurationConverter {
|
|
|
19865
19873
|
}
|
|
19866
19874
|
};
|
|
19867
19875
|
var PackageGroupConfiguration = class {
|
|
19876
|
+
constructor() {
|
|
19877
|
+
this.kind = "package-group";
|
|
19878
|
+
}
|
|
19868
19879
|
};
|
|
19869
19880
|
function createDefaultPackageConfiguration(packageUri, locale, dialect) {
|
|
19870
19881
|
const packageName = createPackageNameBasedOnUri(packageUri);
|
|
@@ -19887,14 +19898,8 @@ import { TextDocument as TextDocument2 } from "vscode-languageserver-textdocumen
|
|
|
19887
19898
|
// schemas/config/config.en.schema.json
|
|
19888
19899
|
var config_en_schema_default = {
|
|
19889
19900
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
19890
|
-
$ref: "#/definitions/
|
|
19901
|
+
$ref: "#/definitions/Configuration",
|
|
19891
19902
|
definitions: {
|
|
19892
|
-
ConfigurationArray: {
|
|
19893
|
-
type: "array",
|
|
19894
|
-
items: {
|
|
19895
|
-
$ref: "#/definitions/Configuration"
|
|
19896
|
-
}
|
|
19897
|
-
},
|
|
19898
19903
|
Configuration: {
|
|
19899
19904
|
anyOf: [
|
|
19900
19905
|
{
|
|
@@ -19959,7 +19964,6 @@ var config_en_schema_default = {
|
|
|
19959
19964
|
}
|
|
19960
19965
|
},
|
|
19961
19966
|
required: [
|
|
19962
|
-
"type",
|
|
19963
19967
|
"name"
|
|
19964
19968
|
],
|
|
19965
19969
|
additionalProperties: false
|
|
@@ -20402,14 +20406,8 @@ var config_en_schema_default = {
|
|
|
20402
20406
|
// schemas/config/config.ru.schema.json
|
|
20403
20407
|
var config_ru_schema_default = {
|
|
20404
20408
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
20405
|
-
$ref: "#/definitions/\
|
|
20409
|
+
$ref: "#/definitions/\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F",
|
|
20406
20410
|
definitions: {
|
|
20407
|
-
\u041C\u0430\u0441\u0441\u0438\u0432\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0439: {
|
|
20408
|
-
type: "array",
|
|
20409
|
-
items: {
|
|
20410
|
-
$ref: "#/definitions/\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F"
|
|
20411
|
-
}
|
|
20412
|
-
},
|
|
20413
20411
|
\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F: {
|
|
20414
20412
|
anyOf: [
|
|
20415
20413
|
{
|
|
@@ -20474,7 +20472,6 @@ var config_ru_schema_default = {
|
|
|
20474
20472
|
}
|
|
20475
20473
|
},
|
|
20476
20474
|
required: [
|
|
20477
|
-
"\u0442\u0438\u043F",
|
|
20478
20475
|
"\u0438\u043C\u044F"
|
|
20479
20476
|
],
|
|
20480
20477
|
additionalProperties: false
|
|
@@ -20956,33 +20953,21 @@ var ConfigurationTranslator = class {
|
|
|
20956
20953
|
Debug.never(locale);
|
|
20957
20954
|
}
|
|
20958
20955
|
}
|
|
20959
|
-
static translateConfiguration(configuration, locale) {
|
|
20960
|
-
switch (locale) {
|
|
20961
|
-
case 0 /* En */:
|
|
20962
|
-
return configuration;
|
|
20963
|
-
case 1 /* Ru */:
|
|
20964
|
-
return RussianConfigurationTranslator.translateConfiguration(configuration);
|
|
20965
|
-
default:
|
|
20966
|
-
Debug.never(locale);
|
|
20967
|
-
}
|
|
20968
|
-
}
|
|
20969
20956
|
};
|
|
20970
20957
|
var RussianConfigurationTranslator = class {
|
|
20971
20958
|
static translate(configuration) {
|
|
20972
|
-
|
|
20973
|
-
}
|
|
20974
|
-
static translateConfiguration(value) {
|
|
20975
|
-
switch (value.\u0442\u0438\u043F) {
|
|
20959
|
+
switch (configuration.\u0442\u0438\u043F) {
|
|
20976
20960
|
case "\u041F\u0430\u043A\u0435\u0442":
|
|
20977
|
-
|
|
20961
|
+
case void 0:
|
|
20962
|
+
return this.translatePackage(configuration);
|
|
20978
20963
|
case "\u0413\u0440\u0443\u043F\u043F\u0430\u041F\u0430\u043A\u0435\u0442\u043E\u0432":
|
|
20979
|
-
return this.translatePackageGroup(
|
|
20964
|
+
return this.translatePackageGroup(configuration);
|
|
20980
20965
|
case "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0418\u043C\u0451\u043D":
|
|
20981
|
-
return this.translateNameTranslations(
|
|
20966
|
+
return this.translateNameTranslations(configuration);
|
|
20982
20967
|
case "\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0422\u0435\u043A\u0441\u0442\u043E\u0432":
|
|
20983
|
-
return this.translateTextTranslations(
|
|
20968
|
+
return this.translateTextTranslations(configuration);
|
|
20984
20969
|
default:
|
|
20985
|
-
Debug.never(
|
|
20970
|
+
Debug.never(configuration);
|
|
20986
20971
|
}
|
|
20987
20972
|
}
|
|
20988
20973
|
static translatePackage(value) {
|
|
@@ -21162,31 +21147,31 @@ var ConfigurationFileParser = class {
|
|
|
21162
21147
|
* Выполняет разбор и валидацию конфигурации (проверка соответствия JSON схеме), преобразует в конфигурацию на
|
|
21163
21148
|
* английском языке путём замены имён свойств.
|
|
21164
21149
|
*
|
|
21165
|
-
* @returns Возвращает `
|
|
21150
|
+
* @returns Возвращает `Option.some`, если конфигурация была успешно разобрана, `Option.none`, если содержала
|
|
21166
21151
|
* ошибки (ошибки в синтаксисе JSON, несоответствие JSON схеме).
|
|
21167
21152
|
*
|
|
21168
21153
|
* @example
|
|
21169
|
-
*
|
|
21154
|
+
* {
|
|
21170
21155
|
* "тип": "Пакет",
|
|
21171
21156
|
* "имя": "МойПакет"
|
|
21172
|
-
* }
|
|
21157
|
+
* }
|
|
21173
21158
|
* ->
|
|
21174
|
-
*
|
|
21159
|
+
* {
|
|
21175
21160
|
* "type": "Package",
|
|
21176
21161
|
* "name": "МойПакет"
|
|
21177
|
-
* }
|
|
21162
|
+
* }
|
|
21178
21163
|
*/
|
|
21179
21164
|
static parse(json, locale, diagnostics) {
|
|
21180
21165
|
return __async(this, null, function* () {
|
|
21181
21166
|
const validated = yield this.configurationValidator.validate(json, locale, diagnostics);
|
|
21182
21167
|
if (!validated) {
|
|
21183
|
-
return
|
|
21168
|
+
return Option.none();
|
|
21184
21169
|
}
|
|
21185
21170
|
const parsedJson = jsoncParser.parse(json);
|
|
21186
|
-
if (!(parsedJson instanceof
|
|
21187
|
-
return
|
|
21171
|
+
if (!(parsedJson instanceof Object)) {
|
|
21172
|
+
return Option.some(void 0);
|
|
21188
21173
|
}
|
|
21189
|
-
return ConfigurationTranslator.translate(parsedJson, locale);
|
|
21174
|
+
return Option.some(ConfigurationTranslator.translate(parsedJson, locale));
|
|
21190
21175
|
});
|
|
21191
21176
|
}
|
|
21192
21177
|
};
|
|
@@ -21861,19 +21846,14 @@ var CompilationLoader = class _CompilationLoader {
|
|
|
21861
21846
|
}
|
|
21862
21847
|
mainConfiguration = configuration;
|
|
21863
21848
|
} else if (this.config.getMainPackageConfigurationIfAbsent !== void 0) {
|
|
21864
|
-
mainConfiguration =
|
|
21865
|
-
packageConfiguration: yield this.config.getMainPackageConfigurationIfAbsent()
|
|
21866
|
-
};
|
|
21849
|
+
mainConfiguration = yield this.config.getMainPackageConfigurationIfAbsent();
|
|
21867
21850
|
} else if (this.config.treatRootAsPackageIfConfigIsMissing || this.config.compilationKind === 1 /* Configuration */) {
|
|
21868
|
-
mainConfiguration =
|
|
21869
|
-
packageConfiguration: createDefaultPackageConfiguration(source.rootDirectory.uri)
|
|
21870
|
-
};
|
|
21851
|
+
mainConfiguration = createDefaultPackageConfiguration(source.rootDirectory.uri);
|
|
21871
21852
|
}
|
|
21872
21853
|
if (mainConfiguration !== void 0) {
|
|
21873
21854
|
yield fsTreeLoader.loadDirectoryWithProcessedConfiguration(
|
|
21874
21855
|
source.rootDirectory,
|
|
21875
21856
|
mainConfiguration,
|
|
21876
|
-
DefaultLocale,
|
|
21877
21857
|
userPackages,
|
|
21878
21858
|
false
|
|
21879
21859
|
);
|
|
@@ -21969,16 +21949,9 @@ var FSTreeCompilationLoader = class {
|
|
|
21969
21949
|
}
|
|
21970
21950
|
});
|
|
21971
21951
|
}
|
|
21972
|
-
loadDirectoryWithProcessedConfiguration(directory, configuration,
|
|
21952
|
+
loadDirectoryWithProcessedConfiguration(directory, configuration, accumulatedPackages, isLoadedFromNodeModules) {
|
|
21973
21953
|
return __async(this, null, function* () {
|
|
21974
|
-
if (configuration
|
|
21975
|
-
yield this.loadPackage(
|
|
21976
|
-
directory,
|
|
21977
|
-
configuration.packageConfiguration,
|
|
21978
|
-
accumulatedPackages,
|
|
21979
|
-
isLoadedFromNodeModules
|
|
21980
|
-
);
|
|
21981
|
-
} else if (configuration.packageGroupConfiguration !== void 0) {
|
|
21954
|
+
if (configuration instanceof PackageGroupConfiguration) {
|
|
21982
21955
|
yield this.loadPackageGroupRecursively(
|
|
21983
21956
|
directory,
|
|
21984
21957
|
accumulatedPackages,
|
|
@@ -21986,10 +21959,9 @@ var FSTreeCompilationLoader = class {
|
|
|
21986
21959
|
2 /* SkipInCurrentDirectoryThenProcess */
|
|
21987
21960
|
);
|
|
21988
21961
|
} else {
|
|
21989
|
-
const packageConfiguration = createDefaultPackageConfiguration(directory.uri, configurationLocale);
|
|
21990
21962
|
yield this.loadPackage(
|
|
21991
21963
|
directory,
|
|
21992
|
-
|
|
21964
|
+
configuration,
|
|
21993
21965
|
accumulatedPackages,
|
|
21994
21966
|
isLoadedFromNodeModules
|
|
21995
21967
|
);
|
|
@@ -22109,11 +22081,9 @@ var FSTreeCompilationLoader = class {
|
|
|
22109
22081
|
if (configuration === void 0) {
|
|
22110
22082
|
return void 0;
|
|
22111
22083
|
}
|
|
22112
|
-
const locale = LocaleByConfigurationDirectoryName.get(configurationDirectory.directory.name);
|
|
22113
22084
|
yield this.loadDirectoryWithProcessedConfiguration(
|
|
22114
22085
|
directory,
|
|
22115
22086
|
configuration,
|
|
22116
|
-
locale,
|
|
22117
22087
|
accumulatedPackages,
|
|
22118
22088
|
isLoadedFromNodeModules
|
|
22119
22089
|
);
|
|
@@ -22233,12 +22203,15 @@ var FSTreeCompilationLoader = class {
|
|
|
22233
22203
|
configurationFileLocale,
|
|
22234
22204
|
diagnostics
|
|
22235
22205
|
);
|
|
22236
|
-
if (rawConfiguration
|
|
22237
|
-
result = ConfigurationConverter.convert(
|
|
22206
|
+
if (rawConfiguration.isSome()) {
|
|
22207
|
+
result = ConfigurationConverter.convert(
|
|
22208
|
+
rawConfiguration.unwrap(),
|
|
22209
|
+
directoryInfo.packageOrGroupUri,
|
|
22210
|
+
defaultLocale
|
|
22211
|
+
);
|
|
22238
22212
|
}
|
|
22239
22213
|
} else {
|
|
22240
|
-
|
|
22241
|
-
result = { packageConfiguration, packageGroupConfiguration: void 0 };
|
|
22214
|
+
result = createDefaultPackageConfiguration(directoryInfo.packageOrGroupUri, defaultLocale);
|
|
22242
22215
|
}
|
|
22243
22216
|
return result;
|
|
22244
22217
|
});
|
|
@@ -22251,13 +22224,14 @@ var PackageContentsCompilationLoader = class {
|
|
|
22251
22224
|
}
|
|
22252
22225
|
}
|
|
22253
22226
|
loadPackageFromContent(content) {
|
|
22254
|
-
const rawConfiguration = ConfigurationTranslator.
|
|
22227
|
+
const rawConfiguration = ConfigurationTranslator.translate(
|
|
22255
22228
|
content.configuration,
|
|
22256
22229
|
this.convertPackageContentLocale(content.configurationLocale)
|
|
22257
22230
|
);
|
|
22258
22231
|
let configuration;
|
|
22259
22232
|
switch (rawConfiguration.type) {
|
|
22260
22233
|
case "Package":
|
|
22234
|
+
case void 0:
|
|
22261
22235
|
configuration = ConfigurationConverter.convertPackageConfiguration(rawConfiguration);
|
|
22262
22236
|
break;
|
|
22263
22237
|
case "NameTranslations":
|
|
@@ -22363,16 +22337,12 @@ function createPackageContent(pkg2, fileSystemTree) {
|
|
|
22363
22337
|
return void 0;
|
|
22364
22338
|
}
|
|
22365
22339
|
const locale = LocaleByJsonConfigurationFileName.get(configurationDirectory.jsonConfigurationFile.name) ?? DefaultLocale;
|
|
22366
|
-
const
|
|
22340
|
+
const configuration = (yield ConfigurationFileParser.parse(
|
|
22367
22341
|
configurationDirectory.jsonConfigurationFile.text,
|
|
22368
22342
|
locale,
|
|
22369
22343
|
void 0
|
|
22370
|
-
);
|
|
22371
|
-
if (
|
|
22372
|
-
return void 0;
|
|
22373
|
-
}
|
|
22374
|
-
const configuration = configurationArray.at(0);
|
|
22375
|
-
if (!(configuration?.type === "Package" || configuration?.type === "NameTranslations")) {
|
|
22344
|
+
)).toNullable();
|
|
22345
|
+
if (configuration === void 0 || configuration.type === "PackageGroup") {
|
|
22376
22346
|
return void 0;
|
|
22377
22347
|
}
|
|
22378
22348
|
const fileContents = pkg2.sourceFiles.map((f, i) => {
|
|
@@ -26352,7 +26322,7 @@ var SourcePackageMembersCreator = class {
|
|
|
26352
26322
|
resultingComputedVariables.set(accessor, entity);
|
|
26353
26323
|
if (accessor.kind === 34 /* PackageVariableSetterDeclaration */) {
|
|
26354
26324
|
diagnostics?.addDiagnostic(analyzer.createDiagnostic(
|
|
26355
|
-
|
|
26325
|
+
2126 /* WriteFunctionHasNoCorrespondingReadFunction */,
|
|
26356
26326
|
accessor.name
|
|
26357
26327
|
));
|
|
26358
26328
|
}
|
|
@@ -30044,7 +30014,7 @@ var TranslatedEntityNameConflictsValidator = class {
|
|
|
30044
30014
|
if (nodeForDiagnostic !== void 0) {
|
|
30045
30015
|
const argumentFactory = this.analyzer.semanticContext.ofSourceFile(nodeForDiagnostic.sourceFile).getDiagnosticArgumentFactory();
|
|
30046
30016
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30047
|
-
|
|
30017
|
+
2196 /* Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 */,
|
|
30048
30018
|
nodeForDiagnostic,
|
|
30049
30019
|
[
|
|
30050
30020
|
argumentFactory.createDisplayableEntity(firstSourceTranslatedMember.getOriginalEntity()),
|
|
@@ -30075,7 +30045,7 @@ var TranslatedEntityNameConflictsValidator = class {
|
|
|
30075
30045
|
Debug.assertNotNull(correspondingTranslatedMember);
|
|
30076
30046
|
const argumentFactory = this.analyzer.semanticContext.ofSourceFile(nodeForDiagnostic.sourceFile).getDiagnosticArgumentFactory();
|
|
30077
30047
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30078
|
-
|
|
30048
|
+
2197 /* TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 */,
|
|
30079
30049
|
nodeForDiagnostic,
|
|
30080
30050
|
[
|
|
30081
30051
|
argumentFactory.createDisplayableEntity(firstSourceTranslatedMember),
|
|
@@ -30120,7 +30090,7 @@ var TranslatedEntityNameConflictsValidator = class {
|
|
|
30120
30090
|
const translationDefinition = typeParameter.getTranslation()?.definition;
|
|
30121
30091
|
if (translationDefinition?.kind === "source" && translationDefinition.translatedNameIdentifier !== void 0) {
|
|
30122
30092
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30123
|
-
|
|
30093
|
+
2110 /* ScopeAlreadyContainsDeclarationWithTheSameName */,
|
|
30124
30094
|
translationDefinition.translatedNameIdentifier,
|
|
30125
30095
|
void 0,
|
|
30126
30096
|
1 /* Warning */
|
|
@@ -30141,7 +30111,7 @@ var TranslatedEntityNameConflictsValidator = class {
|
|
|
30141
30111
|
const translationDefinition = parameter.getTranslation()?.definition;
|
|
30142
30112
|
if (translationDefinition?.kind === "source" && translationDefinition.translatedNameIdentifier !== void 0) {
|
|
30143
30113
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30144
|
-
|
|
30114
|
+
2110 /* ScopeAlreadyContainsDeclarationWithTheSameName */,
|
|
30145
30115
|
translationDefinition.translatedNameIdentifier,
|
|
30146
30116
|
void 0,
|
|
30147
30117
|
1 /* Warning */
|
|
@@ -30164,7 +30134,7 @@ var TranslatedEntityNameConflictsValidator = class {
|
|
|
30164
30134
|
if (nodeForDiagnostic !== void 0) {
|
|
30165
30135
|
const argumentFactory = this.analyzer.semanticContext.ofSourceFile(nodeForDiagnostic.sourceFile).getDiagnosticArgumentFactory();
|
|
30166
30136
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30167
|
-
|
|
30137
|
+
2198 /* TranslatedOverridingMember0MustTheSameNameAsBaseMember1 */,
|
|
30168
30138
|
nodeForDiagnostic,
|
|
30169
30139
|
[
|
|
30170
30140
|
argumentFactory.createDisplayableEntity(derivedMemberEntity),
|
|
@@ -30747,7 +30717,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
30747
30717
|
}
|
|
30748
30718
|
if (diagnosticLocation !== void 0) {
|
|
30749
30719
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30750
|
-
|
|
30720
|
+
2190 /* DeclarationHasAlreadyBeenTranslated */,
|
|
30751
30721
|
diagnosticLocation,
|
|
30752
30722
|
void 0,
|
|
30753
30723
|
1 /* Warning */
|
|
@@ -30771,7 +30741,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
30771
30741
|
Debug.never(translationDeclaration);
|
|
30772
30742
|
}
|
|
30773
30743
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30774
|
-
|
|
30744
|
+
2190 /* DeclarationHasAlreadyBeenTranslated */,
|
|
30775
30745
|
diagnosticLocation,
|
|
30776
30746
|
void 0,
|
|
30777
30747
|
1 /* Warning */
|
|
@@ -30985,7 +30955,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
30985
30955
|
));
|
|
30986
30956
|
} else if (targets.every((t) => t.kind === 2 /* Type */ && ifTypeEntityIsFunctionTypeAliasThenFunctionType(t) !== void 0)) {
|
|
30987
30957
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
30988
|
-
|
|
30958
|
+
2194 /* TranslationOfFunctionTypeMustIncludeParameterList */,
|
|
30989
30959
|
node.sourceName,
|
|
30990
30960
|
void 0,
|
|
30991
30961
|
1 /* Warning */
|
|
@@ -31074,7 +31044,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
31074
31044
|
if (targets.some((t) => t.getOperatorKind() !== void 0)) {
|
|
31075
31045
|
if (node.translatedName.operatorKind !== node.sourceName.operatorKind) {
|
|
31076
31046
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
31077
|
-
|
|
31047
|
+
2193 /* TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName */,
|
|
31078
31048
|
node.translatedName,
|
|
31079
31049
|
void 0,
|
|
31080
31050
|
1 /* Warning */
|
|
@@ -31171,7 +31141,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
31171
31141
|
checkTranslatedTypeParameterCount(typeParameterList, sourceTypeParameters, diagnosticLocation, diagnostics) {
|
|
31172
31142
|
if ((typeParameterList?.typeParameters.count() ?? 0) !== sourceTypeParameters.length) {
|
|
31173
31143
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
31174
|
-
|
|
31144
|
+
2192 /* TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters */,
|
|
31175
31145
|
diagnosticLocation,
|
|
31176
31146
|
void 0,
|
|
31177
31147
|
1 /* Warning */
|
|
@@ -31181,7 +31151,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
31181
31151
|
checkTranslatedParameterCount(parameterList, sourceParameters, diagnosticLocation, diagnostics) {
|
|
31182
31152
|
if (parameterList?.parameters.count() !== sourceParameters.length) {
|
|
31183
31153
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
31184
|
-
|
|
31154
|
+
2191 /* TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters */,
|
|
31185
31155
|
diagnosticLocation,
|
|
31186
31156
|
void 0,
|
|
31187
31157
|
1 /* Warning */
|
|
@@ -31218,7 +31188,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
31218
31188
|
if (totalCount <= _AnalyzedTranslationPackage.maxDisplayedNotTranslatedEntitiesCount) {
|
|
31219
31189
|
const displayableEntities = entities.map((e) => argumentFactory.createDisplayableEntity(e));
|
|
31220
31190
|
result = this.analyzer.createDiagnostic(
|
|
31221
|
-
|
|
31191
|
+
2093 /* TheFollowingDeclarationsAreNotTranslated0 */,
|
|
31222
31192
|
node,
|
|
31223
31193
|
[new DisplayableArray(displayableEntities, "\n\n")],
|
|
31224
31194
|
1 /* Warning */
|
|
@@ -31226,7 +31196,7 @@ var AnalyzedTranslationPackage = class _AnalyzedTranslationPackage {
|
|
|
31226
31196
|
} else {
|
|
31227
31197
|
const displayableEntities = entities.slice(0, _AnalyzedTranslationPackage.maxDisplayedNotTranslatedEntitiesCount + 1).map((e) => argumentFactory.createDisplayableEntity(e));
|
|
31228
31198
|
result = this.analyzer.createDiagnostic(
|
|
31229
|
-
|
|
31199
|
+
2094 /* TheFollowingDeclarationsAreNotTranslated0And1More */,
|
|
31230
31200
|
node,
|
|
31231
31201
|
[
|
|
31232
31202
|
new DisplayableArray(displayableEntities, "\n\n"),
|
|
@@ -32501,7 +32471,7 @@ var OverloadResolver = class {
|
|
|
32501
32471
|
parameterTypes = signature.value.getParameters().map((p) => p.getType().applySubstitutions(substitutions));
|
|
32502
32472
|
} else if (signature.isMatching && this.signatures.length === 1 && this.diagnostics !== void 0 && this.nodesForDiagnostic?.access !== void 0) {
|
|
32503
32473
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
32504
|
-
|
|
32474
|
+
2180 /* CannotInferTypeArguments */,
|
|
32505
32475
|
this.nodesForDiagnostic.access
|
|
32506
32476
|
));
|
|
32507
32477
|
} else {
|
|
@@ -32551,7 +32521,7 @@ var OverloadResolver = class {
|
|
|
32551
32521
|
this.reportAmbiguousAccessDiagnostic(signaturesForDiagnostic);
|
|
32552
32522
|
if (hasTypeArgumentInferenceErrorThatHasNotBeenReported) {
|
|
32553
32523
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
32554
|
-
|
|
32524
|
+
2180 /* CannotInferTypeArguments */,
|
|
32555
32525
|
this.nodesForDiagnostic.access
|
|
32556
32526
|
));
|
|
32557
32527
|
}
|
|
@@ -33211,6 +33181,10 @@ var FirstStageResolver = class {
|
|
|
33211
33181
|
resolveBaseConstructorAccess(node) {
|
|
33212
33182
|
const semanticContext = this.analyzer.semanticContext.containing(this.node);
|
|
33213
33183
|
const containingTypeOrExtension = semanticContext.getContainingTypeOrTypeExtension();
|
|
33184
|
+
if (semanticContext.isStatic()) {
|
|
33185
|
+
this.diagnostics?.addDiagnostic(this.staticContextDiagnostic());
|
|
33186
|
+
return new Meaning_unresolved2();
|
|
33187
|
+
}
|
|
33214
33188
|
if (containingTypeOrExtension === void 0 || containingTypeOrExtension.kind === "type-extension") {
|
|
33215
33189
|
this.diagnostics?.addDiagnostic(this.invalidContextDiagnostic());
|
|
33216
33190
|
return new Meaning_unresolved2();
|
|
@@ -33221,9 +33195,9 @@ var FirstStageResolver = class {
|
|
|
33221
33195
|
return new Meaning_unresolved2();
|
|
33222
33196
|
}
|
|
33223
33197
|
if (containingTypeOrExtension.value.typeEntityKind !== 4 /* Alias */) {
|
|
33224
|
-
if (!(node.parent.kind === 104 /* ExpressionStatement */ && node.parent.parent.parent.kind === 93 /* FunctionBlock */ && node.parent.parent.
|
|
33198
|
+
if (!(node.parent.kind === 104 /* ExpressionStatement */ && node.parent.parent.parent.kind === 93 /* FunctionBlock */ && node.parent.parent.statements.first() === node.parent)) {
|
|
33225
33199
|
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
33226
|
-
|
|
33200
|
+
2174 /* BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock */,
|
|
33227
33201
|
this.node
|
|
33228
33202
|
));
|
|
33229
33203
|
}
|
|
@@ -33246,13 +33220,18 @@ var FirstStageResolver = class {
|
|
|
33246
33220
|
return new Meaning_baseConstructorAccess(baseType, constructors, suitableConstructors);
|
|
33247
33221
|
}
|
|
33248
33222
|
resolveBaseMethodAccess(containingDeclaration) {
|
|
33223
|
+
const semanticContext = this.analyzer.semanticContext.containing(this.node);
|
|
33224
|
+
if (semanticContext.isStatic()) {
|
|
33225
|
+
this.diagnostics?.addDiagnostic(this.staticContextDiagnostic());
|
|
33226
|
+
return new Meaning_unresolved2();
|
|
33227
|
+
}
|
|
33249
33228
|
const overriddenObjectMethod = this.analyzer.entity.ofMethodDeclaration(containingDeclaration).getOverriddenMembers().find((m) => {
|
|
33250
33229
|
const containingEntity = m.getEntity().getContainingEntity();
|
|
33251
33230
|
return containingEntity.kind === 2 /* Type */ && containingEntity.typeEntityKind === 1 /* Structured */ && (containingEntity.getStructuredTypeKind() === 0 /* Class */ || containingEntity.getStructuredTypeKind() === 1 /* Structure */) || containingEntity.kind === 11 /* TypeExtension */;
|
|
33252
33231
|
});
|
|
33253
33232
|
if (overriddenObjectMethod === void 0) {
|
|
33254
33233
|
this.diagnostics?.addDiagnostic(
|
|
33255
|
-
this.analyzer.createDiagnostic(
|
|
33234
|
+
this.analyzer.createDiagnostic(2055 /* OverriddenMethodNotFound */, this.node)
|
|
33256
33235
|
);
|
|
33257
33236
|
return new Meaning_unresolved2();
|
|
33258
33237
|
}
|
|
@@ -33261,13 +33240,21 @@ var FirstStageResolver = class {
|
|
|
33261
33240
|
resolveBaseObjectAccess() {
|
|
33262
33241
|
const semanticContext = this.analyzer.semanticContext.containing(this.node);
|
|
33263
33242
|
const memberContainer = semanticContext.getContainingTypeOrTypeExtension();
|
|
33243
|
+
const isUsedInStaticContext = semanticContext.isStatic();
|
|
33244
|
+
if (isUsedInStaticContext) {
|
|
33245
|
+
this.diagnostics?.addDiagnostic(this.staticContextDiagnostic());
|
|
33246
|
+
}
|
|
33264
33247
|
if (memberContainer === void 0 || memberContainer.kind === "type-extension") {
|
|
33265
|
-
|
|
33248
|
+
if (!isUsedInStaticContext) {
|
|
33249
|
+
this.diagnostics?.addDiagnostic(this.invalidContextDiagnostic());
|
|
33250
|
+
}
|
|
33266
33251
|
return new Meaning_unresolved2();
|
|
33267
33252
|
}
|
|
33268
33253
|
const baseType = this.getBaseOrAliasedType(memberContainer.value, false);
|
|
33269
33254
|
if (baseType === void 0) {
|
|
33270
|
-
|
|
33255
|
+
if (!isUsedInStaticContext) {
|
|
33256
|
+
this.diagnostics?.addDiagnostic(this.invalidContextDiagnostic());
|
|
33257
|
+
}
|
|
33271
33258
|
return new Meaning_unresolved2();
|
|
33272
33259
|
}
|
|
33273
33260
|
return new Meaning_baseObjectAccess(baseType);
|
|
@@ -33275,12 +33262,15 @@ var FirstStageResolver = class {
|
|
|
33275
33262
|
invalidContextDiagnostic() {
|
|
33276
33263
|
return this.analyzer.createDiagnostic(2053 /* BaseCannotBeUsedInThisContext */, this.node);
|
|
33277
33264
|
}
|
|
33265
|
+
staticContextDiagnostic() {
|
|
33266
|
+
return this.analyzer.createDiagnostic(2054 /* BaseCannotBeUsedInStaticContext */, this.node);
|
|
33267
|
+
}
|
|
33278
33268
|
getBaseOrAliasedType(typeEntity, isForBaseConstructorCall) {
|
|
33279
33269
|
switch (typeEntity.typeEntityKind) {
|
|
33280
33270
|
case 1 /* Structured */: {
|
|
33281
33271
|
const baseObjectType = typeEntity.getBaseObjectType();
|
|
33282
33272
|
let result = baseObjectType.cycleFree;
|
|
33283
|
-
if (!isForBaseConstructorCall &&
|
|
33273
|
+
if (result === void 0 && !isForBaseConstructorCall && typeEntity.typeEntityKind === 1 /* Structured */ && typeEntity.getStructuredTypeKind() === 2 /* Aspect */) {
|
|
33284
33274
|
result = this.analyzer.getLocalizedStandardTypes(typeEntity.getLocale()).object;
|
|
33285
33275
|
}
|
|
33286
33276
|
return result;
|
|
@@ -33995,7 +33985,7 @@ var Resolver5 = class {
|
|
|
33995
33985
|
resolveObjectFunctionCallExpression(type, isOriginalCalleeTypeNullable) {
|
|
33996
33986
|
if (isOriginalCalleeTypeNullable) {
|
|
33997
33987
|
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
33998
|
-
|
|
33988
|
+
2105 /* ExpressionCanBeNull */,
|
|
33999
33989
|
this.node.expression
|
|
34000
33990
|
));
|
|
34001
33991
|
}
|
|
@@ -34258,7 +34248,7 @@ var Resolver6 = class {
|
|
|
34258
34248
|
const receiverTypeWithoutNull = this.analyzer.excludeNullFromType(receiverType);
|
|
34259
34249
|
if (!receiverTypeWithoutNull.equals(receiverType)) {
|
|
34260
34250
|
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
34261
|
-
|
|
34251
|
+
2105 /* ExpressionCanBeNull */,
|
|
34262
34252
|
this.node.expression
|
|
34263
34253
|
));
|
|
34264
34254
|
receiverType = receiverTypeWithoutNull;
|
|
@@ -34744,7 +34734,7 @@ var Resolver7 = class {
|
|
|
34744
34734
|
const receiverTypeWithoutNull = this.analyzer.excludeNullFromType(receiverType);
|
|
34745
34735
|
if (!receiverTypeWithoutNull.equals(receiverType)) {
|
|
34746
34736
|
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
34747
|
-
|
|
34737
|
+
2105 /* ExpressionCanBeNull */,
|
|
34748
34738
|
this.node.expression
|
|
34749
34739
|
));
|
|
34750
34740
|
receiverType = receiverTypeWithoutNull;
|
|
@@ -35113,7 +35103,7 @@ var FirstStageResolver3 = class {
|
|
|
35113
35103
|
const typeWithoutNull = this.analyzer.excludeNullFromType(type);
|
|
35114
35104
|
if (!typeWithoutNull.equals(type)) {
|
|
35115
35105
|
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
35116
|
-
|
|
35106
|
+
2105 /* ExpressionCanBeNull */,
|
|
35117
35107
|
this.receiver
|
|
35118
35108
|
));
|
|
35119
35109
|
type = typeWithoutNull;
|
|
@@ -35477,7 +35467,6 @@ var NamedTypeResolver = class {
|
|
|
35477
35467
|
resolve() {
|
|
35478
35468
|
const resolvedQualifiers = new Array();
|
|
35479
35469
|
let ambiguousDeclarations;
|
|
35480
|
-
let types = new Array();
|
|
35481
35470
|
const qualifiers = this.node.qualifiers.toArray();
|
|
35482
35471
|
for (let i = 0; i < qualifiers.length; i++) {
|
|
35483
35472
|
const qualifier = qualifiers[i];
|
|
@@ -35517,20 +35506,29 @@ var NamedTypeResolver = class {
|
|
|
35517
35506
|
}
|
|
35518
35507
|
const nullableTypes = Query.from(typesOrContainersWithTypes).map((d) => d.kind === "type" ? d.value : void 0).toNullable();
|
|
35519
35508
|
if (nullableTypes !== void 0) {
|
|
35520
|
-
|
|
35521
|
-
|
|
35522
|
-
|
|
35523
|
-
|
|
35524
|
-
|
|
35525
|
-
this.diagnostics?.addDiagnostic(
|
|
35526
|
-
this.analyzer.createDiagnostic(2044 /* ExpectedPackageNameOrAliasButFoundType */, qualifier)
|
|
35527
|
-
);
|
|
35528
|
-
}
|
|
35509
|
+
const resolvedQualifier = new ResolvedQualifier_type(nullableTypes, nullableTypes);
|
|
35510
|
+
resolvedQualifiers.push(resolvedQualifier);
|
|
35511
|
+
} else {
|
|
35512
|
+
this.diagnostics?.addDiagnostic(this.createAmbiguousAccessDiagnostic(typesOrContainersWithTypes, qualifier));
|
|
35513
|
+
ambiguousDeclarations = typesOrContainersWithTypes.map((t) => t.getEntityOrPackageNameTreeNode());
|
|
35529
35514
|
break;
|
|
35530
35515
|
}
|
|
35531
|
-
|
|
35532
|
-
|
|
35533
|
-
|
|
35516
|
+
}
|
|
35517
|
+
let types;
|
|
35518
|
+
if (resolvedQualifiers.length > 0 && resolvedQualifiers.length === qualifiers.length) {
|
|
35519
|
+
const lastResolvedQualifier = resolvedQualifiers[resolvedQualifiers.length - 1];
|
|
35520
|
+
if (lastResolvedQualifier.kind === "type") {
|
|
35521
|
+
types = lastResolvedQualifier.candidates;
|
|
35522
|
+
}
|
|
35523
|
+
}
|
|
35524
|
+
if (types === void 0) {
|
|
35525
|
+
if (resolvedQualifiers.length > 0 && resolvedQualifiers.length === qualifiers.length) {
|
|
35526
|
+
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
35527
|
+
1101 /* TypeNameExpected */,
|
|
35528
|
+
qualifiers[qualifiers.length - 1]
|
|
35529
|
+
));
|
|
35530
|
+
}
|
|
35531
|
+
types = [];
|
|
35534
35532
|
}
|
|
35535
35533
|
return new NamedTypeResolutionResult(types, resolvedQualifiers, ambiguousDeclarations);
|
|
35536
35534
|
}
|
|
@@ -35737,7 +35735,9 @@ var Resolver8 = class {
|
|
|
35737
35735
|
const semanticContext = this.analyzer.semanticContext.containing(this.node);
|
|
35738
35736
|
const objectVariableInfo = semanticContext.getObjectVariableInfo();
|
|
35739
35737
|
if (objectVariableInfo === void 0) {
|
|
35740
|
-
this.diagnostics?.addDiagnostic(
|
|
35738
|
+
this.diagnostics?.addDiagnostic(
|
|
35739
|
+
this.analyzer.createDiagnostic(2056 /* ObjectCannotBeUsedInThisContext */, this.node)
|
|
35740
|
+
);
|
|
35741
35741
|
return new Meaning_unresolved8();
|
|
35742
35742
|
}
|
|
35743
35743
|
switch (objectVariableInfo.kind) {
|
|
@@ -35748,7 +35748,9 @@ var Resolver8 = class {
|
|
|
35748
35748
|
}
|
|
35749
35749
|
const type = this.analyzer.instantiateTypeByIdentitySubstitution(typeEntity);
|
|
35750
35750
|
if (semanticContext.isStatic()) {
|
|
35751
|
-
this.diagnostics?.addDiagnostic(
|
|
35751
|
+
this.diagnostics?.addDiagnostic(
|
|
35752
|
+
this.analyzer.createDiagnostic(2057 /* ObjectCannotBeUsedInStaticContext */, this.node)
|
|
35753
|
+
);
|
|
35752
35754
|
}
|
|
35753
35755
|
return new Meaning_objectAccess(type);
|
|
35754
35756
|
}
|
|
@@ -35759,9 +35761,6 @@ var Resolver8 = class {
|
|
|
35759
35761
|
Debug.never(objectVariableInfo);
|
|
35760
35762
|
}
|
|
35761
35763
|
}
|
|
35762
|
-
invalidContextDiagnostic() {
|
|
35763
|
-
return this.analyzer.createDiagnostic(2055 /* ObjectCannotBeUsedInThisContext */, this.node);
|
|
35764
|
-
}
|
|
35765
35764
|
};
|
|
35766
35765
|
var Meaning_objectAccess = class {
|
|
35767
35766
|
constructor(type) {
|
|
@@ -35844,7 +35843,7 @@ var OwnAndBaseConstructorCallsChecker = class {
|
|
|
35844
35843
|
baseConstructorCalls.set(entity, baseConstructorWithoutParameters);
|
|
35845
35844
|
} else if (baseTypeHasAccessibleConstructors) {
|
|
35846
35845
|
diagnostics.push(this.analyzer.createDiagnostic(
|
|
35847
|
-
|
|
35846
|
+
2171 /* TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall */,
|
|
35848
35847
|
constructorDeclaration2.creationKeyword
|
|
35849
35848
|
));
|
|
35850
35849
|
}
|
|
@@ -35855,7 +35854,7 @@ var OwnAndBaseConstructorCallsChecker = class {
|
|
|
35855
35854
|
addOwnConstructorCallOrReportCycleDiagnostic(constructorContainingCall, calledConstructor, ownConstructorCalls, diagnosticLocation, diagnostics) {
|
|
35856
35855
|
if (calledConstructor.getOriginalEntity() === constructorContainingCall.getOriginalEntity()) {
|
|
35857
35856
|
diagnostics.push(this.analyzer.createDiagnostic(
|
|
35858
|
-
|
|
35857
|
+
2172 /* ThisCallCausesOwnConstructorCallCycle */,
|
|
35859
35858
|
diagnosticLocation
|
|
35860
35859
|
));
|
|
35861
35860
|
} else {
|
|
@@ -35866,7 +35865,7 @@ var OwnAndBaseConstructorCallsChecker = class {
|
|
|
35866
35865
|
break;
|
|
35867
35866
|
} else if (current === constructorContainingCall) {
|
|
35868
35867
|
diagnostics.push(this.analyzer.createDiagnostic(
|
|
35869
|
-
|
|
35868
|
+
2172 /* ThisCallCausesOwnConstructorCallCycle */,
|
|
35870
35869
|
diagnosticLocation
|
|
35871
35870
|
));
|
|
35872
35871
|
break;
|
|
@@ -35952,7 +35951,7 @@ var Resolver9 = class {
|
|
|
35952
35951
|
const firstStatement = constructorDeclaration2.block?.statementList.statements.first();
|
|
35953
35952
|
if (getParentSkippingParenthesizedExpressions(this.node) !== firstStatement) {
|
|
35954
35953
|
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
35955
|
-
|
|
35954
|
+
2173 /* OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock */,
|
|
35956
35955
|
this.node
|
|
35957
35956
|
));
|
|
35958
35957
|
}
|
|
@@ -35976,7 +35975,7 @@ var Resolver9 = class {
|
|
|
35976
35975
|
return new Meaning_ownConstructorCall(type, constructors, suitableConstructors);
|
|
35977
35976
|
}
|
|
35978
35977
|
invalidContextDiagnostic() {
|
|
35979
|
-
return this.analyzer.createDiagnostic(
|
|
35978
|
+
return this.analyzer.createDiagnostic(2058 /* OwnConstructorCannotBeCalledHere */, this.node);
|
|
35980
35979
|
}
|
|
35981
35980
|
};
|
|
35982
35981
|
var Meaning_ownConstructorCall = class {
|
|
@@ -36986,7 +36985,7 @@ var GraphBuilder = class {
|
|
|
36986
36985
|
}
|
|
36987
36986
|
addUnreachableCodeDiagnostic(node) {
|
|
36988
36987
|
const data = DiagnosticData.withCode(
|
|
36989
|
-
|
|
36988
|
+
2107 /* UnreachableCode */,
|
|
36990
36989
|
[],
|
|
36991
36990
|
3 /* Hint */,
|
|
36992
36991
|
2 /* Unreachable */
|
|
@@ -37261,7 +37260,7 @@ var PackageAndStaticVariablesInitializationValidator = class {
|
|
|
37261
37260
|
reportNotInitialedVariableDiagnostic(entity) {
|
|
37262
37261
|
const location = this.getVariableDiagnosticLocationWithFallback(entity);
|
|
37263
37262
|
if (location !== void 0) {
|
|
37264
|
-
const code = entity.subkind === "package" ?
|
|
37263
|
+
const code = entity.subkind === "package" ? 2177 /* Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor */ : 2176 /* Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor */;
|
|
37265
37264
|
const argumentFactory = location.getArgumentFactory(this.analyzer);
|
|
37266
37265
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37267
37266
|
code,
|
|
@@ -37320,7 +37319,7 @@ var PackageMemberConflictsValidator = class {
|
|
|
37320
37319
|
} else {
|
|
37321
37320
|
this.createAndAddNameConflictDiagnosticsForAllEntities(
|
|
37322
37321
|
members,
|
|
37323
|
-
|
|
37322
|
+
2113 /* PackageAlreadyContainsDeclarationWithTheSameName */
|
|
37324
37323
|
);
|
|
37325
37324
|
}
|
|
37326
37325
|
}
|
|
@@ -37331,7 +37330,7 @@ var PackageMemberConflictsValidator = class {
|
|
|
37331
37330
|
if (textTranslations.length > 1) {
|
|
37332
37331
|
this.createAndAddTextConflictDiagnosticsForAllEntities(
|
|
37333
37332
|
textTranslations,
|
|
37334
|
-
|
|
37333
|
+
2199 /* TextTranslationAlreadyExistsInTheTextTranslationPackage */
|
|
37335
37334
|
);
|
|
37336
37335
|
}
|
|
37337
37336
|
}
|
|
@@ -37345,7 +37344,7 @@ var PackageMemberConflictsValidator = class {
|
|
|
37345
37344
|
if (this.analyzer.conflictsCheck.doFunctionSignaturesConflict(entity, entityToCheckAgainst) && this.shouldReportConflictWithMemberBasedOnHiding(entity, entityToCheckAgainst)) {
|
|
37346
37345
|
this.reportNameConflictDiagnostic(
|
|
37347
37346
|
entity,
|
|
37348
|
-
|
|
37347
|
+
2114 /* PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes */
|
|
37349
37348
|
);
|
|
37350
37349
|
break;
|
|
37351
37350
|
}
|
|
@@ -37361,7 +37360,7 @@ var PackageMemberConflictsValidator = class {
|
|
|
37361
37360
|
if (this.analyzer.conflictsCheck.doPackageTypesConflict(entity, entityToCheckAgainst) && this.shouldReportConflictWithMemberBasedOnHiding(entity, entityToCheckAgainst)) {
|
|
37362
37361
|
this.reportNameConflictDiagnostic(
|
|
37363
37362
|
entity,
|
|
37364
|
-
|
|
37363
|
+
2115 /* PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount */
|
|
37365
37364
|
);
|
|
37366
37365
|
break;
|
|
37367
37366
|
}
|
|
@@ -37526,13 +37525,13 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37526
37525
|
const isReductionSourceMemberWriteable = isComputedVariableEntity(reductionSourceMemberEntity) ? reductionSourceMemberEntity.getSetter() !== void 0 : !reductionSourceMemberEntity.isConstant();
|
|
37527
37526
|
if (isReducedTypeMemberWriteable && !isReductionSourceMemberWriteable) {
|
|
37528
37527
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37529
|
-
|
|
37528
|
+
2217 /* ReducedTypeFieldMustBeImmutableToMatchReductionSourceField */,
|
|
37530
37529
|
diagnosticLocation
|
|
37531
37530
|
));
|
|
37532
37531
|
}
|
|
37533
37532
|
} else {
|
|
37534
37533
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37535
|
-
|
|
37534
|
+
2213 /* CorrespondingReductionSourceTypeMemberNotFound */,
|
|
37536
37535
|
diagnosticLocation
|
|
37537
37536
|
));
|
|
37538
37537
|
}
|
|
@@ -37559,12 +37558,12 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37559
37558
|
const isReducedTypeMemberAsync = member.isAsync();
|
|
37560
37559
|
const isReductionSourceMemberAsync = result.isAsync();
|
|
37561
37560
|
if (isReducedTypeMemberAsync !== isReductionSourceMemberAsync) {
|
|
37562
|
-
const code = isReductionSourceMemberAsync ?
|
|
37561
|
+
const code = isReductionSourceMemberAsync ? 2218 /* ReducedTypeMethodMustBeAsyncToMatchReductionSourceMethod */ : 2219 /* ReducedTypeMethodMustNotBeAsyncToMatchReductionSourceMethod */;
|
|
37563
37562
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(code, diagnosticLocation));
|
|
37564
37563
|
}
|
|
37565
37564
|
} else {
|
|
37566
37565
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37567
|
-
|
|
37566
|
+
2213 /* CorrespondingReductionSourceTypeMemberNotFound */,
|
|
37568
37567
|
diagnosticLocation
|
|
37569
37568
|
));
|
|
37570
37569
|
}
|
|
@@ -37583,7 +37582,7 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37583
37582
|
this.checkMembersHaveSameHiding(member, result, diagnostics, diagnosticLocation);
|
|
37584
37583
|
} else {
|
|
37585
37584
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37586
|
-
|
|
37585
|
+
2213 /* CorrespondingReductionSourceTypeMemberNotFound */,
|
|
37587
37586
|
diagnosticLocation
|
|
37588
37587
|
));
|
|
37589
37588
|
}
|
|
@@ -37602,7 +37601,7 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37602
37601
|
this.checkMembersHaveSameHiding(member, result, diagnostics, diagnosticLocation);
|
|
37603
37602
|
} else {
|
|
37604
37603
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37605
|
-
|
|
37604
|
+
2213 /* CorrespondingReductionSourceTypeMemberNotFound */,
|
|
37606
37605
|
diagnosticLocation
|
|
37607
37606
|
));
|
|
37608
37607
|
}
|
|
@@ -37630,13 +37629,13 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37630
37629
|
const isReductionSourceMemberWriteable = result.getEntity().getSetter() !== void 0;
|
|
37631
37630
|
if (isReducedTypeMemberWriteable && !isReductionSourceMemberWriteable) {
|
|
37632
37631
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37633
|
-
|
|
37632
|
+
2220 /* ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember */,
|
|
37634
37633
|
diagnosticLocation
|
|
37635
37634
|
));
|
|
37636
37635
|
}
|
|
37637
37636
|
} else {
|
|
37638
37637
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37639
|
-
|
|
37638
|
+
2213 /* CorrespondingReductionSourceTypeMemberNotFound */,
|
|
37640
37639
|
diagnosticLocation
|
|
37641
37640
|
));
|
|
37642
37641
|
}
|
|
@@ -37660,13 +37659,13 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37660
37659
|
const isReductionSourceMemberWriteable = result.getEntity().getSetter() !== void 0;
|
|
37661
37660
|
if (isReducedTypeMemberWriteable && !isReductionSourceMemberWriteable) {
|
|
37662
37661
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37663
|
-
|
|
37662
|
+
2220 /* ReducedTypeMemberMustHaveNoWriteFunctionToMatchReductionSourceMember */,
|
|
37664
37663
|
diagnosticLocation
|
|
37665
37664
|
));
|
|
37666
37665
|
}
|
|
37667
37666
|
} else {
|
|
37668
37667
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37669
|
-
|
|
37668
|
+
2213 /* CorrespondingReductionSourceTypeMemberNotFound */,
|
|
37670
37669
|
diagnosticLocation
|
|
37671
37670
|
));
|
|
37672
37671
|
}
|
|
@@ -37694,7 +37693,7 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37694
37693
|
}
|
|
37695
37694
|
if (!result) {
|
|
37696
37695
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37697
|
-
|
|
37696
|
+
2216 /* ReducedTypeMemberMustHaveTheSameHidingLevelAsReductionSourceMember */,
|
|
37698
37697
|
diagnosticLocation
|
|
37699
37698
|
));
|
|
37700
37699
|
}
|
|
@@ -37719,7 +37718,7 @@ var ReductionSourceMemberFinder = class _ReductionSourceMemberFinder {
|
|
|
37719
37718
|
);
|
|
37720
37719
|
if (!result) {
|
|
37721
37720
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37722
|
-
|
|
37721
|
+
2215 /* ReducedTypeMemberMustHaveTheSameTypeAsReductionSourceMember */,
|
|
37723
37722
|
diagnosticLocation
|
|
37724
37723
|
));
|
|
37725
37724
|
}
|
|
@@ -37786,7 +37785,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
37786
37785
|
if (diagnosticLocation !== void 0) {
|
|
37787
37786
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
37788
37787
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37789
|
-
|
|
37788
|
+
2202 /* ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0 */,
|
|
37790
37789
|
diagnosticLocation,
|
|
37791
37790
|
[argumentFactory.createDisplayableEntity(entity)]
|
|
37792
37791
|
));
|
|
@@ -37813,7 +37812,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
37813
37812
|
if (isInterfaceFunctionAsync !== isImplementationFunctionAsync) {
|
|
37814
37813
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(implementation);
|
|
37815
37814
|
if (diagnosticLocation !== void 0) {
|
|
37816
|
-
const code = isInterfaceFunctionAsync ?
|
|
37815
|
+
const code = isInterfaceFunctionAsync ? 2203 /* ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 */ : 2204 /* ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 */;
|
|
37817
37816
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
37818
37817
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37819
37818
|
code,
|
|
@@ -37845,7 +37844,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
37845
37844
|
if (diagnosticLocation !== void 0) {
|
|
37846
37845
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
37847
37846
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37848
|
-
|
|
37847
|
+
2205 /* ImplementationTypeMustBeBasicToMatchInterfacePackageType0 */,
|
|
37849
37848
|
diagnosticLocation,
|
|
37850
37849
|
[argumentFactory.createDisplayableEntity(entity)]
|
|
37851
37850
|
));
|
|
@@ -37856,7 +37855,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
37856
37855
|
if (diagnosticLocation !== void 0) {
|
|
37857
37856
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
37858
37857
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
37859
|
-
|
|
37858
|
+
2206 /* ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0 */,
|
|
37860
37859
|
diagnosticLocation,
|
|
37861
37860
|
[argumentFactory.createDisplayableEntity(entity)]
|
|
37862
37861
|
));
|
|
@@ -38035,7 +38034,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38035
38034
|
if (diagnosticLocation !== void 0) {
|
|
38036
38035
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38037
38036
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38038
|
-
|
|
38037
|
+
2202 /* ImplementationVariableMustBeMutableToMatchInterfacePackageVariable0 */,
|
|
38039
38038
|
diagnosticLocation,
|
|
38040
38039
|
[argumentFactory.createDisplayableEntity(entity)]
|
|
38041
38040
|
));
|
|
@@ -38056,7 +38055,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38056
38055
|
if (isInterfaceFunctionAsync !== isImplementationFunctionAsync) {
|
|
38057
38056
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(implementation);
|
|
38058
38057
|
if (diagnosticLocation !== void 0) {
|
|
38059
|
-
const code = isInterfaceFunctionAsync ?
|
|
38058
|
+
const code = isInterfaceFunctionAsync ? 2203 /* ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 */ : 2204 /* ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 */;
|
|
38060
38059
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38061
38060
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38062
38061
|
code,
|
|
@@ -38096,7 +38095,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38096
38095
|
if (diagnosticLocation !== void 0) {
|
|
38097
38096
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38098
38097
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38099
|
-
|
|
38098
|
+
2209 /* ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 */,
|
|
38100
38099
|
diagnosticLocation,
|
|
38101
38100
|
[argumentFactory.createDisplayableEntity(entity)]
|
|
38102
38101
|
));
|
|
@@ -38119,7 +38118,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38119
38118
|
if (diagnosticLocation !== void 0) {
|
|
38120
38119
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38121
38120
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38122
|
-
|
|
38121
|
+
2209 /* ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 */,
|
|
38123
38122
|
diagnosticLocation,
|
|
38124
38123
|
[argumentFactory.createDisplayableEntity(entity)]
|
|
38125
38124
|
));
|
|
@@ -38136,7 +38135,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38136
38135
|
if (diagnosticLocation !== void 0) {
|
|
38137
38136
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38138
38137
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38139
|
-
|
|
38138
|
+
2207 /* ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0 */,
|
|
38140
38139
|
diagnosticLocation,
|
|
38141
38140
|
[argumentFactory.createDisplayableEntity(memberFromInterfacePackage)]
|
|
38142
38141
|
));
|
|
@@ -38149,7 +38148,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38149
38148
|
if (diagnosticLocation !== void 0) {
|
|
38150
38149
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38151
38150
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38152
|
-
|
|
38151
|
+
2208 /* ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0 */,
|
|
38153
38152
|
diagnosticLocation,
|
|
38154
38153
|
[argumentFactory.createDisplayableEntity(memberFromInterfacePackage)]
|
|
38155
38154
|
));
|
|
@@ -38231,7 +38230,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38231
38230
|
if (diagnosticLocation !== void 0) {
|
|
38232
38231
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38233
38232
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38234
|
-
|
|
38233
|
+
2200 /* PackageDoesNotContainImplementationOf0 */,
|
|
38235
38234
|
diagnosticLocation,
|
|
38236
38235
|
[argumentFactory.createDisplayableEntity(notImplementedEntity)]
|
|
38237
38236
|
));
|
|
@@ -38242,7 +38241,7 @@ var ResolvedImplementationPackage = class _ResolvedImplementationPackage {
|
|
|
38242
38241
|
if (diagnosticLocation !== void 0) {
|
|
38243
38242
|
const argumentFactory = diagnosticLocation.getArgumentFactory(this.analyzer);
|
|
38244
38243
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38245
|
-
|
|
38244
|
+
2201 /* TypeDoesNotContainImplementationOf0 */,
|
|
38246
38245
|
diagnosticLocation,
|
|
38247
38246
|
[argumentFactory.createDisplayableEntity(notImplementedEntity)]
|
|
38248
38247
|
));
|
|
@@ -38316,7 +38315,7 @@ var Resolver10 = class {
|
|
|
38316
38315
|
} else {
|
|
38317
38316
|
if (i !== qualifiers.length - 1) {
|
|
38318
38317
|
this.diagnostics?.addDiagnostic(
|
|
38319
|
-
this.analyzer.createDiagnostic(
|
|
38318
|
+
this.analyzer.createDiagnostic(2104 /* PackageNameOrAliasExpected */, qualifier)
|
|
38320
38319
|
);
|
|
38321
38320
|
}
|
|
38322
38321
|
break;
|
|
@@ -38329,7 +38328,7 @@ var Resolver10 = class {
|
|
|
38329
38328
|
const lastQualifierIdentifier = qualifiers[qualifiers.length - 1];
|
|
38330
38329
|
if (!(lastQualifier.kind === "type" || lastQualifier.kind === "function")) {
|
|
38331
38330
|
this.diagnostics?.addDiagnostic(
|
|
38332
|
-
this.analyzer.createDiagnostic(
|
|
38331
|
+
this.analyzer.createDiagnostic(2103 /* TypeOrFunctionNameExpected */, lastQualifierIdentifier)
|
|
38333
38332
|
);
|
|
38334
38333
|
return new ResolutionResult3(new Meaning_unresolved10(), resolvedQualifiers);
|
|
38335
38334
|
}
|
|
@@ -38346,7 +38345,7 @@ var Resolver10 = class {
|
|
|
38346
38345
|
let ambiguousDeclarations;
|
|
38347
38346
|
const declarations = this.semanticContext.getNamedDeclarationsByName(name).declarations;
|
|
38348
38347
|
if (declarations.length === 0) {
|
|
38349
|
-
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(
|
|
38348
|
+
this.diagnostics?.addDiagnostic(this.analyzer.createDiagnostic(2102 /* TagNotFound */, diagnosticLocation));
|
|
38350
38349
|
} else if (declarations.every((d) => d.kind === "type")) {
|
|
38351
38350
|
resolvedQualifier = new ResolvedQualifier_type2(declarations.map((d) => d.value), []);
|
|
38352
38351
|
} else if (declarations.every((d) => d.kind === "function")) {
|
|
@@ -38372,7 +38371,7 @@ var Resolver10 = class {
|
|
|
38372
38371
|
break;
|
|
38373
38372
|
case "variable":
|
|
38374
38373
|
this.diagnostics?.addDiagnostic(
|
|
38375
|
-
this.analyzer.createDiagnostic(
|
|
38374
|
+
this.analyzer.createDiagnostic(2103 /* TypeOrFunctionNameExpected */, diagnosticLocation)
|
|
38376
38375
|
);
|
|
38377
38376
|
break;
|
|
38378
38377
|
case "function":
|
|
@@ -38417,14 +38416,14 @@ var Resolver10 = class {
|
|
|
38417
38416
|
const packageEntity2 = qualifier.kind === "package-alias" ? qualifier.packageAlias.getPackage() : qualifier.packageTreeNode.package;
|
|
38418
38417
|
if (packageEntity2 === void 0) {
|
|
38419
38418
|
this.diagnostics?.addDiagnostic(
|
|
38420
|
-
this.analyzer.createDiagnostic(
|
|
38419
|
+
this.analyzer.createDiagnostic(2102 /* TagNotFound */, diagnosticLocation)
|
|
38421
38420
|
);
|
|
38422
38421
|
} else {
|
|
38423
38422
|
const lookup = new PackageMemberLookup(packageEntity2);
|
|
38424
38423
|
const declarations = lookup.getNamedMembersByName(name, this.semanticContext.getPackageMemberLookupContext());
|
|
38425
38424
|
if (declarations.length === 0) {
|
|
38426
38425
|
this.diagnostics?.addDiagnostic(
|
|
38427
|
-
this.analyzer.createDiagnostic(
|
|
38426
|
+
this.analyzer.createDiagnostic(2102 /* TagNotFound */, diagnosticLocation)
|
|
38428
38427
|
);
|
|
38429
38428
|
} else if (declarations.length === 1) {
|
|
38430
38429
|
const declaration = declarations[0];
|
|
@@ -38437,7 +38436,7 @@ var Resolver10 = class {
|
|
|
38437
38436
|
break;
|
|
38438
38437
|
case 0 /* Variable */:
|
|
38439
38438
|
this.diagnostics?.addDiagnostic(
|
|
38440
|
-
this.analyzer.createDiagnostic(
|
|
38439
|
+
this.analyzer.createDiagnostic(2103 /* TypeOrFunctionNameExpected */, diagnosticLocation)
|
|
38441
38440
|
);
|
|
38442
38441
|
break;
|
|
38443
38442
|
default:
|
|
@@ -38699,7 +38698,7 @@ var TypeMemberImplementationChecker = class {
|
|
|
38699
38698
|
notImplementedAbstractMembers.push(notExplicitlyImplementedAbstractMember);
|
|
38700
38699
|
if (!hasReportedImplicitImplementationDiagnostics) {
|
|
38701
38700
|
const diagnosticData = DiagnosticData.withCode(
|
|
38702
|
-
|
|
38701
|
+
2162 /* TypeDoesNotImplementMember0 */,
|
|
38703
38702
|
[diagnosticArgumentFactory.createDisplayableTypeMember(notExplicitlyImplementedAbstractMember)]
|
|
38704
38703
|
);
|
|
38705
38704
|
diagnosticsData.push(diagnosticData);
|
|
@@ -38773,7 +38772,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38773
38772
|
const abstractMemberType = this.analyzer.overriddenMember.getMemberTypeOrReturnType(abstractMember);
|
|
38774
38773
|
if (!matchingMemberType.equals(abstractMemberType)) {
|
|
38775
38774
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38776
|
-
|
|
38775
|
+
2163 /* TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 */,
|
|
38777
38776
|
[
|
|
38778
38777
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38779
38778
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -38783,7 +38782,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38783
38782
|
}
|
|
38784
38783
|
if (matchingMember.kind === "method" && abstractMember.kind === "method") {
|
|
38785
38784
|
if (matchingMember.isAsync() !== abstractMember.isAsync()) {
|
|
38786
|
-
const code = matchingMember.isAsync() ?
|
|
38785
|
+
const code = matchingMember.isAsync() ? 2164 /* TypeDoesNotImplementMember0ImplicitImplementation1IsAsync */ : 2165 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync */;
|
|
38787
38786
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38788
38787
|
code,
|
|
38789
38788
|
[
|
|
@@ -38803,7 +38802,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38803
38802
|
const isAbstractMemberWriteable = isComputedVariableEntity(abstractMemberEntity) ? abstractMemberSetter !== void 0 : !abstractMemberEntity.isConstant();
|
|
38804
38803
|
if (isAbstractMemberWriteable && !isMatchingMemberWriteable) {
|
|
38805
38804
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38806
|
-
|
|
38805
|
+
2166 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable */,
|
|
38807
38806
|
[
|
|
38808
38807
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38809
38808
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -38813,7 +38812,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38813
38812
|
} else if (isAbstractMemberWriteable && isComputedVariableEntity(matchingMemberEntity) && matchingMemberSetter !== void 0) {
|
|
38814
38813
|
if (!AccessibilityCheck.isTypeMemberAccessible(matchingMemberSetter, context, void 0, true)) {
|
|
38815
38814
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38816
|
-
|
|
38815
|
+
2167 /* TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden */,
|
|
38817
38816
|
[
|
|
38818
38817
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38819
38818
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -38828,7 +38827,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38828
38827
|
const abstractMemberSetter = abstractMember.getEntity().getSetter();
|
|
38829
38828
|
if (abstractMemberSetter !== void 0 && matchingMemberSetter === void 0) {
|
|
38830
38829
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38831
|
-
|
|
38830
|
+
2166 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable */,
|
|
38832
38831
|
[
|
|
38833
38832
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38834
38833
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -38838,7 +38837,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38838
38837
|
} else if (abstractMemberSetter !== void 0 && matchingMemberSetter !== void 0) {
|
|
38839
38838
|
if (!AccessibilityCheck.isTypeMemberAccessible(matchingMemberSetter, context, void 0, true)) {
|
|
38840
38839
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38841
|
-
|
|
38840
|
+
2167 /* TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden */,
|
|
38842
38841
|
[
|
|
38843
38842
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38844
38843
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -38853,7 +38852,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38853
38852
|
const abstractMemberSetter = abstractMember.getEntity().getSetter();
|
|
38854
38853
|
if (abstractMemberSetter !== void 0 && matchingMemberSetter === void 0) {
|
|
38855
38854
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38856
|
-
|
|
38855
|
+
2166 /* TypeDoesNotImplementMember0ImplicitImplementation1IsNotMutable */,
|
|
38857
38856
|
[
|
|
38858
38857
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38859
38858
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -38863,7 +38862,7 @@ var ImplicitImplementationUtils = class {
|
|
|
38863
38862
|
} else if (abstractMemberSetter !== void 0 && matchingMemberSetter !== void 0) {
|
|
38864
38863
|
if (!AccessibilityCheck.isTypeMemberAccessible(matchingMemberSetter, context, void 0, true)) {
|
|
38865
38864
|
diagnosticsData.push(DiagnosticData.withCode(
|
|
38866
|
-
|
|
38865
|
+
2167 /* TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden */,
|
|
38867
38866
|
[
|
|
38868
38867
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(abstractMember),
|
|
38869
38868
|
this.diagnosticArgumentFactory.createDisplayableTypeMember(matchingMember)
|
|
@@ -40768,7 +40767,7 @@ var SemanticContextValidatingNameConflictsBase = class extends SemanticContextWi
|
|
|
40768
40767
|
if (members.every((m) => m.kind === 1 /* Function */)) {
|
|
40769
40768
|
this.validateNestedFunctionsConflicts(members, sourceFile, diagnostics);
|
|
40770
40769
|
} else {
|
|
40771
|
-
const diagnosticData = DiagnosticData.withCode(
|
|
40770
|
+
const diagnosticData = DiagnosticData.withCode(2110 /* ScopeAlreadyContainsDeclarationWithTheSameName */);
|
|
40772
40771
|
const preferSetterParameter = this.getContainingSubprogram()?.kind === "setter";
|
|
40773
40772
|
for (const member of members) {
|
|
40774
40773
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(member, preferSetterParameter);
|
|
@@ -40796,7 +40795,7 @@ var SemanticContextValidatingNameConflictsBase = class extends SemanticContextWi
|
|
|
40796
40795
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(entity);
|
|
40797
40796
|
if (diagnosticLocation !== void 0) {
|
|
40798
40797
|
const diagnosticData = DiagnosticData.withCode(
|
|
40799
|
-
|
|
40798
|
+
2111 /* ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes */
|
|
40800
40799
|
);
|
|
40801
40800
|
diagnostics.addDiagnostic(new Diagnostic(diagnosticData, diagnosticLocation));
|
|
40802
40801
|
}
|
|
@@ -41007,7 +41006,7 @@ var SourceFileSemanticContext = class extends SemanticContextBase {
|
|
|
41007
41006
|
validateNameConflicts(diagnostics) {
|
|
41008
41007
|
for (const aliases of this.packageAliasesByNameKey.values()) {
|
|
41009
41008
|
if (aliases.length > 1) {
|
|
41010
|
-
const diagnosticData = DiagnosticData.withCode(
|
|
41009
|
+
const diagnosticData = DiagnosticData.withCode(2116 /* PackageAliasWithTheSameNameAlreadyExits */);
|
|
41011
41010
|
for (const alias of aliases) {
|
|
41012
41011
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(alias);
|
|
41013
41012
|
if (diagnosticLocation !== void 0) {
|
|
@@ -41020,7 +41019,7 @@ var SourceFileSemanticContext = class extends SemanticContextBase {
|
|
|
41020
41019
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(aliases[0]);
|
|
41021
41020
|
if (diagnosticLocation !== void 0) {
|
|
41022
41021
|
const diagnosticData = DiagnosticData.withCode(
|
|
41023
|
-
|
|
41022
|
+
2113 /* PackageAlreadyContainsDeclarationWithTheSameName */
|
|
41024
41023
|
);
|
|
41025
41024
|
diagnostics.addDiagnostic(new Diagnostic(diagnosticData, diagnosticLocation));
|
|
41026
41025
|
}
|
|
@@ -41198,7 +41197,7 @@ var SubprogramTypeParameterSemanticContext = class extends SemanticContextValida
|
|
|
41198
41197
|
const name = this.analyzer.createNameFromIdentifier(parameter.name);
|
|
41199
41198
|
if (name.considerEqual(resultSpecialName)) {
|
|
41200
41199
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
41201
|
-
|
|
41200
|
+
2112 /* ParameterName0ConflictsWithAutomaticallyGeneratedVariableName */,
|
|
41202
41201
|
parameter.name,
|
|
41203
41202
|
[resultSpecialName.unescapedOriginal]
|
|
41204
41203
|
));
|
|
@@ -41233,7 +41232,7 @@ var SubprogramParameterListSemanticContext2 = class extends SemanticContextValid
|
|
|
41233
41232
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(parameter);
|
|
41234
41233
|
if (diagnosticLocation !== void 0) {
|
|
41235
41234
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
41236
|
-
|
|
41235
|
+
2112 /* ParameterName0ConflictsWithAutomaticallyGeneratedVariableName */,
|
|
41237
41236
|
diagnosticLocation,
|
|
41238
41237
|
[name]
|
|
41239
41238
|
));
|
|
@@ -42003,7 +42002,7 @@ var Analyzer14 = class {
|
|
|
42003
42002
|
if (member?.kind !== "method") {
|
|
42004
42003
|
const diagnosticArgumentFactory = semanticContext.getDiagnosticArgumentFactory();
|
|
42005
42004
|
const diagnostic = this.createDiagnostic(
|
|
42006
|
-
|
|
42005
|
+
2178 /* ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 */,
|
|
42007
42006
|
node,
|
|
42008
42007
|
[diagnosticArgumentFactory.createDisplayableType(type), enumeratorMethodName]
|
|
42009
42008
|
);
|
|
@@ -42015,7 +42014,7 @@ var Analyzer14 = class {
|
|
|
42015
42014
|
} else {
|
|
42016
42015
|
const diagnosticArgumentFactory = semanticContext.getDiagnosticArgumentFactory();
|
|
42017
42016
|
const diagnostic = this.createDiagnostic(
|
|
42018
|
-
|
|
42017
|
+
2179 /* ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType */,
|
|
42019
42018
|
node,
|
|
42020
42019
|
[diagnosticArgumentFactory.createDisplayableTypeMember(member)]
|
|
42021
42020
|
);
|
|
@@ -43287,7 +43286,7 @@ var Analyzer14 = class {
|
|
|
43287
43286
|
result = Option.some(entities[0]);
|
|
43288
43287
|
} else {
|
|
43289
43288
|
const diagnostic = this.createDiagnostic(
|
|
43290
|
-
|
|
43289
|
+
2189 /* TextIsMissingAmongPrimaryTextTranslationDefinitions */,
|
|
43291
43290
|
node,
|
|
43292
43291
|
void 0,
|
|
43293
43292
|
1 /* Warning */
|
|
@@ -43651,14 +43650,14 @@ var Analyzer14 = class {
|
|
|
43651
43650
|
}
|
|
43652
43651
|
if (expression === void 0) {
|
|
43653
43652
|
diagnostics?.addDiagnostic(this.createDiagnostic(
|
|
43654
|
-
|
|
43653
|
+
2092 /* IncorrectBodyOfBasicAliasTypeMethod */,
|
|
43655
43654
|
node.block.openBraceToken
|
|
43656
43655
|
));
|
|
43657
43656
|
return void 0;
|
|
43658
43657
|
}
|
|
43659
43658
|
if (expression.kind !== 65 /* CallExpression */) {
|
|
43660
43659
|
diagnostics?.addDiagnostic(this.createDiagnostic(
|
|
43661
|
-
|
|
43660
|
+
2092 /* IncorrectBodyOfBasicAliasTypeMethod */,
|
|
43662
43661
|
node.block.openBraceToken
|
|
43663
43662
|
));
|
|
43664
43663
|
return void 0;
|
|
@@ -43669,7 +43668,7 @@ var Analyzer14 = class {
|
|
|
43669
43668
|
case "function-call":
|
|
43670
43669
|
if (meaning.singleFunction === void 0) {
|
|
43671
43670
|
diagnostics?.addDiagnostic(this.createDiagnostic(
|
|
43672
|
-
|
|
43671
|
+
2092 /* IncorrectBodyOfBasicAliasTypeMethod */,
|
|
43673
43672
|
expression
|
|
43674
43673
|
));
|
|
43675
43674
|
return void 0;
|
|
@@ -43679,7 +43678,7 @@ var Analyzer14 = class {
|
|
|
43679
43678
|
case "object-function-call":
|
|
43680
43679
|
case "constructor-call":
|
|
43681
43680
|
diagnostics?.addDiagnostic(this.createDiagnostic(
|
|
43682
|
-
|
|
43681
|
+
2092 /* IncorrectBodyOfBasicAliasTypeMethod */,
|
|
43683
43682
|
expression
|
|
43684
43683
|
));
|
|
43685
43684
|
return void 0;
|
|
@@ -43691,7 +43690,7 @@ var Analyzer14 = class {
|
|
|
43691
43690
|
const calledFunctionEntity = calledFunction.getEntity();
|
|
43692
43691
|
if (calledFunctionEntity.subkind !== "method" || !TypeMemberEntity.isBasic(calledFunctionEntity)) {
|
|
43693
43692
|
diagnostics?.addDiagnostic(this.createDiagnostic(
|
|
43694
|
-
|
|
43693
|
+
2092 /* IncorrectBodyOfBasicAliasTypeMethod */,
|
|
43695
43694
|
expression
|
|
43696
43695
|
));
|
|
43697
43696
|
return void 0;
|
|
@@ -43997,18 +43996,18 @@ var Analyzer14 = class {
|
|
|
43997
43996
|
}
|
|
43998
43997
|
if (typeParameterCount === 0) {
|
|
43999
43998
|
diagnostics.addDiagnostic(this.createDiagnostic(
|
|
44000
|
-
|
|
43999
|
+
2084 /* OnlyGenericTypesAndFunctionsCanBeSpecialized */,
|
|
44001
44000
|
diagnosticLocation
|
|
44002
44001
|
));
|
|
44003
44002
|
} else if (typeParameterCount === requiredTypeParameterCount) {
|
|
44004
44003
|
diagnostics.addDiagnostic(this.createDiagnostic(
|
|
44005
|
-
|
|
44004
|
+
2085 /* Expected0TypeArguments */,
|
|
44006
44005
|
diagnosticLocation,
|
|
44007
44006
|
[typeParameterCount]
|
|
44008
44007
|
));
|
|
44009
44008
|
} else {
|
|
44010
44009
|
diagnostics.addDiagnostic(this.createDiagnostic(
|
|
44011
|
-
|
|
44010
|
+
2086 /* ExpectedFrom0To1TypeArguments */,
|
|
44012
44011
|
diagnosticLocation,
|
|
44013
44012
|
[requiredTypeParameterCount, typeParameterCount]
|
|
44014
44013
|
));
|
|
@@ -44489,7 +44488,7 @@ var Type2 = class {
|
|
|
44489
44488
|
this.recursionDepth++;
|
|
44490
44489
|
if (this.recursionDepth > 50) {
|
|
44491
44490
|
const diagnostic = this.analyzer.createDiagnostic(
|
|
44492
|
-
|
|
44491
|
+
2108 /* RecursionOccurredWhileCalculatingTheTypeOfTheExpression */,
|
|
44493
44492
|
node
|
|
44494
44493
|
);
|
|
44495
44494
|
this.analyzer.addSideDiagnostic(diagnostic);
|
|
@@ -44499,7 +44498,7 @@ var Type2 = class {
|
|
|
44499
44498
|
} catch (e) {
|
|
44500
44499
|
if (e instanceof RecursiveCachedValueEvaluationError || e instanceof RecursiveLazyValueEvaluationError) {
|
|
44501
44500
|
const diagnostic = this.analyzer.createDiagnostic(
|
|
44502
|
-
|
|
44501
|
+
2108 /* RecursionOccurredWhileCalculatingTheTypeOfTheExpression */,
|
|
44503
44502
|
node
|
|
44504
44503
|
);
|
|
44505
44504
|
this.analyzer.addSideDiagnostic(diagnostic);
|
|
@@ -44636,7 +44635,7 @@ var Type2 = class {
|
|
|
44636
44635
|
}
|
|
44637
44636
|
if (entity.isInferringReturnType || entity.isInferringReturnType) {
|
|
44638
44637
|
const diagnostic = this.analyzer.createDiagnostic(
|
|
44639
|
-
|
|
44638
|
+
2108 /* RecursionOccurredWhileCalculatingTheTypeOfTheExpression */,
|
|
44640
44639
|
node
|
|
44641
44640
|
);
|
|
44642
44641
|
this.analyzer.addSideDiagnostic(diagnostic);
|
|
@@ -45110,7 +45109,7 @@ var Type2 = class {
|
|
|
45110
45109
|
if (!this.nodesForWhichReturnTypeInferenceDiagnosticHasBeenReported.has(node)) {
|
|
45111
45110
|
const nodeForDiagnostic = node.kind === 62 /* FunctionLiteral */ ? node.functionKeyword : node.block.openBraceToken;
|
|
45112
45111
|
this.analyzer.addSideDiagnostic(this.analyzer.createDiagnostic(
|
|
45113
|
-
|
|
45112
|
+
2181 /* CanNotInferReturnTypeAddExplicitReturnTypeSpecifier */,
|
|
45114
45113
|
nodeForDiagnostic
|
|
45115
45114
|
));
|
|
45116
45115
|
this.nodesForWhichReturnTypeInferenceDiagnosticHasBeenReported.add(node);
|
|
@@ -45991,27 +45990,40 @@ var Entity6 = class {
|
|
|
45991
45990
|
return void 0;
|
|
45992
45991
|
}
|
|
45993
45992
|
createComputedFieldEntities(membersOfDeclaration) {
|
|
45994
|
-
const
|
|
45993
|
+
const instanceAccessors = new Array();
|
|
45994
|
+
const staticAccessors = new Array();
|
|
45995
45995
|
for (const member of flattenTypeMemberDeclarationList(membersOfDeclaration.memberList)) {
|
|
45996
45996
|
if (member.kind === 50 /* FieldGetterDeclaration */ || member.kind === 51 /* FieldSetterDeclaration */) {
|
|
45997
|
-
|
|
45998
|
-
|
|
45999
|
-
|
|
46000
|
-
|
|
46001
|
-
|
|
46002
|
-
|
|
46003
|
-
|
|
46004
|
-
|
|
46005
|
-
|
|
46006
|
-
|
|
46007
|
-
|
|
46008
|
-
|
|
46009
|
-
|
|
46010
|
-
|
|
46011
|
-
|
|
45997
|
+
if (findModifier(member, 45 /* Static */) === void 0) {
|
|
45998
|
+
instanceAccessors.push(member);
|
|
45999
|
+
} else {
|
|
46000
|
+
staticAccessors.push(member);
|
|
46001
|
+
}
|
|
46002
|
+
}
|
|
46003
|
+
}
|
|
46004
|
+
this.createComputedFieldEntitiesWithoutIsStaticCheck(instanceAccessors);
|
|
46005
|
+
this.createComputedFieldEntitiesWithoutIsStaticCheck(staticAccessors);
|
|
46006
|
+
}
|
|
46007
|
+
createComputedFieldEntitiesWithoutIsStaticCheck(nodes) {
|
|
46008
|
+
const accessorByName = /* @__PURE__ */ new Map();
|
|
46009
|
+
for (const member of nodes) {
|
|
46010
|
+
const name = this.analyzer.createNameFromIdentifier(member.name).key;
|
|
46011
|
+
const previousAccessor = accessorByName.get(name);
|
|
46012
|
+
if (previousAccessor !== void 0) {
|
|
46013
|
+
accessorByName.delete(name);
|
|
46014
|
+
if (previousAccessor.kind !== member.kind) {
|
|
46015
|
+
const getterDeclaration = member.kind === 50 /* FieldGetterDeclaration */ ? member : previousAccessor;
|
|
46016
|
+
const setterDeclaration = member.kind === 51 /* FieldSetterDeclaration */ ? member : previousAccessor;
|
|
46017
|
+
const entity = new ComputedFieldDeclarationEntity(this.analyzer, getterDeclaration, setterDeclaration);
|
|
46018
|
+
this.fieldEntities.set(member, entity);
|
|
46019
|
+
this.fieldEntities.set(previousAccessor, entity);
|
|
46012
46020
|
} else {
|
|
46013
46021
|
accessorByName.set(name, member);
|
|
46022
|
+
const entity = previousAccessor.kind === 50 /* FieldGetterDeclaration */ ? new ComputedFieldDeclarationEntity(this.analyzer, previousAccessor, void 0) : new ComputedFieldDeclarationEntity(this.analyzer, void 0, previousAccessor);
|
|
46023
|
+
this.fieldEntities.set(previousAccessor, entity);
|
|
46014
46024
|
}
|
|
46025
|
+
} else {
|
|
46026
|
+
accessorByName.set(name, member);
|
|
46015
46027
|
}
|
|
46016
46028
|
}
|
|
46017
46029
|
const diagnostics = this.analyzer.getSideDiagnosticAcceptor();
|
|
@@ -46020,36 +46032,49 @@ var Entity6 = class {
|
|
|
46020
46032
|
this.fieldEntities.set(accessor, entity);
|
|
46021
46033
|
if (accessor.kind === 51 /* FieldSetterDeclaration */) {
|
|
46022
46034
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
46023
|
-
|
|
46035
|
+
2126 /* WriteFunctionHasNoCorrespondingReadFunction */,
|
|
46024
46036
|
accessor.name
|
|
46025
46037
|
));
|
|
46026
46038
|
}
|
|
46027
46039
|
}
|
|
46028
46040
|
}
|
|
46029
46041
|
createDereferenceOperatorEntities(membersOfDeclaration) {
|
|
46030
|
-
const
|
|
46042
|
+
const instanceAccessors = new Array();
|
|
46043
|
+
const staticAccessors = new Array();
|
|
46031
46044
|
for (const member of flattenTypeMemberDeclarationList(membersOfDeclaration.memberList)) {
|
|
46032
46045
|
if (member.kind === 45 /* DereferencedVariableGetterDeclaration */ || member.kind === 46 /* DereferencedVariableSetterDeclaration */) {
|
|
46033
|
-
if (
|
|
46034
|
-
|
|
46035
|
-
|
|
46036
|
-
|
|
46037
|
-
|
|
46038
|
-
|
|
46039
|
-
|
|
46040
|
-
|
|
46041
|
-
|
|
46042
|
-
|
|
46043
|
-
|
|
46044
|
-
|
|
46045
|
-
|
|
46046
|
-
|
|
46047
|
-
|
|
46048
|
-
|
|
46049
|
-
|
|
46046
|
+
if (findModifier(member, 45 /* Static */) === void 0) {
|
|
46047
|
+
instanceAccessors.push(member);
|
|
46048
|
+
} else {
|
|
46049
|
+
staticAccessors.push(member);
|
|
46050
|
+
}
|
|
46051
|
+
}
|
|
46052
|
+
}
|
|
46053
|
+
this.createDereferenceOperatorEntitiesWithoutIsStaticCheck(instanceAccessors);
|
|
46054
|
+
this.createDereferenceOperatorEntitiesWithoutIsStaticCheck(staticAccessors);
|
|
46055
|
+
}
|
|
46056
|
+
createDereferenceOperatorEntitiesWithoutIsStaticCheck(nodes) {
|
|
46057
|
+
const accessors = new Array();
|
|
46058
|
+
for (const member of nodes) {
|
|
46059
|
+
if (accessors.length > 0) {
|
|
46060
|
+
const previousAccessor = accessors.pop();
|
|
46061
|
+
if (previousAccessor.kind !== member.kind) {
|
|
46062
|
+
const getterDeclaration = member.kind === 45 /* DereferencedVariableGetterDeclaration */ ? member : previousAccessor;
|
|
46063
|
+
const setterDeclaration = member.kind === 46 /* DereferencedVariableSetterDeclaration */ ? member : previousAccessor;
|
|
46064
|
+
const entity = new DereferenceOperatorDeclarationEntity(
|
|
46065
|
+
this.analyzer,
|
|
46066
|
+
getterDeclaration,
|
|
46067
|
+
setterDeclaration
|
|
46068
|
+
);
|
|
46069
|
+
this.referenceOperatorEntities.set(member, entity);
|
|
46070
|
+
this.referenceOperatorEntities.set(previousAccessor, entity);
|
|
46050
46071
|
} else {
|
|
46051
46072
|
accessors.push(member);
|
|
46073
|
+
const entity = previousAccessor.kind === 45 /* DereferencedVariableGetterDeclaration */ ? new DereferenceOperatorDeclarationEntity(this.analyzer, previousAccessor, void 0) : new DereferenceOperatorDeclarationEntity(this.analyzer, void 0, previousAccessor);
|
|
46074
|
+
this.referenceOperatorEntities.set(previousAccessor, entity);
|
|
46052
46075
|
}
|
|
46076
|
+
} else {
|
|
46077
|
+
accessors.push(member);
|
|
46053
46078
|
}
|
|
46054
46079
|
}
|
|
46055
46080
|
const diagnostics = this.analyzer.getSideDiagnosticAcceptor();
|
|
@@ -46058,35 +46083,48 @@ var Entity6 = class {
|
|
|
46058
46083
|
this.referenceOperatorEntities.set(accessor, entity);
|
|
46059
46084
|
if (accessor.kind === 46 /* DereferencedVariableSetterDeclaration */) {
|
|
46060
46085
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
46061
|
-
|
|
46086
|
+
2126 /* WriteFunctionHasNoCorrespondingReadFunction */,
|
|
46062
46087
|
accessor.caretToken
|
|
46063
46088
|
));
|
|
46064
46089
|
}
|
|
46065
46090
|
}
|
|
46066
46091
|
}
|
|
46067
46092
|
createIndexerAndParameterEntities(membersOfDeclaration) {
|
|
46068
|
-
const
|
|
46093
|
+
const instanceAccessors = new Array();
|
|
46094
|
+
const staticAccessors = new Array();
|
|
46069
46095
|
for (const member of flattenTypeMemberDeclarationList(membersOfDeclaration.memberList)) {
|
|
46070
46096
|
if (member.kind === 42 /* IndexedElementGetterDeclaration */ || member.kind === 43 /* IndexedElementSetterDeclaration */) {
|
|
46071
|
-
|
|
46072
|
-
|
|
46073
|
-
|
|
46074
|
-
|
|
46075
|
-
|
|
46076
|
-
|
|
46077
|
-
|
|
46078
|
-
|
|
46079
|
-
|
|
46080
|
-
|
|
46081
|
-
|
|
46082
|
-
|
|
46083
|
-
|
|
46084
|
-
|
|
46085
|
-
|
|
46086
|
-
|
|
46097
|
+
if (findModifier(member, 45 /* Static */) === void 0) {
|
|
46098
|
+
instanceAccessors.push(member);
|
|
46099
|
+
} else {
|
|
46100
|
+
staticAccessors.push(member);
|
|
46101
|
+
}
|
|
46102
|
+
}
|
|
46103
|
+
}
|
|
46104
|
+
this.createIndexerAndParameterEntitiesWithoutIsStaticCheck(instanceAccessors);
|
|
46105
|
+
this.createIndexerAndParameterEntitiesWithoutIsStaticCheck(staticAccessors);
|
|
46106
|
+
}
|
|
46107
|
+
createIndexerAndParameterEntitiesWithoutIsStaticCheck(nodes) {
|
|
46108
|
+
const accessors = new Array();
|
|
46109
|
+
for (const member of nodes) {
|
|
46110
|
+
const previousAccessorIndex = accessors.findIndex((d) => this.areIndexedElementAccessorDeclarationsEqual(d, member));
|
|
46111
|
+
if (previousAccessorIndex >= 0) {
|
|
46112
|
+
const previousAccessor = accessors[previousAccessorIndex];
|
|
46113
|
+
accessors.splice(previousAccessorIndex, 1);
|
|
46114
|
+
if (previousAccessor.kind !== member.kind) {
|
|
46115
|
+
const getterDeclaration = member.kind === 42 /* IndexedElementGetterDeclaration */ ? member : previousAccessor;
|
|
46116
|
+
const setterDeclaration = member.kind === 43 /* IndexedElementSetterDeclaration */ ? member : previousAccessor;
|
|
46117
|
+
this.createAndCacheIndexerEntityAndParameters(getterDeclaration, setterDeclaration);
|
|
46087
46118
|
} else {
|
|
46088
46119
|
accessors.push(member);
|
|
46120
|
+
if (previousAccessor.kind === 42 /* IndexedElementGetterDeclaration */) {
|
|
46121
|
+
this.createAndCacheIndexerEntityAndParameters(previousAccessor, void 0);
|
|
46122
|
+
} else {
|
|
46123
|
+
this.createAndCacheIndexerEntityAndParameters(void 0, previousAccessor);
|
|
46124
|
+
}
|
|
46089
46125
|
}
|
|
46126
|
+
} else {
|
|
46127
|
+
accessors.push(member);
|
|
46090
46128
|
}
|
|
46091
46129
|
}
|
|
46092
46130
|
const diagnostics = this.analyzer.getSideDiagnosticAcceptor();
|
|
@@ -46098,7 +46136,7 @@ var Entity6 = class {
|
|
|
46098
46136
|
}
|
|
46099
46137
|
if (accessor.kind === 43 /* IndexedElementSetterDeclaration */) {
|
|
46100
46138
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
46101
|
-
|
|
46139
|
+
2126 /* WriteFunctionHasNoCorrespondingReadFunction */,
|
|
46102
46140
|
accessor.parameterClause
|
|
46103
46141
|
));
|
|
46104
46142
|
}
|
|
@@ -47536,7 +47574,7 @@ var PackageImports = class {
|
|
|
47536
47574
|
if (isAliasedImport === void 0) {
|
|
47537
47575
|
if (packagesImportedWithoutAlias.has(importedPackage)) {
|
|
47538
47576
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
47539
|
-
|
|
47577
|
+
2070 /* PackageIsAlreadyImported */,
|
|
47540
47578
|
packageImport.packageName
|
|
47541
47579
|
));
|
|
47542
47580
|
} else {
|
|
@@ -48373,7 +48411,7 @@ var BaseMemberConflictsValidator = class {
|
|
|
48373
48411
|
}
|
|
48374
48412
|
const displayableMembers = conflictingMembers.map((m) => this.diagnosticArgumentFactory.createDisplayableTypeMember(m));
|
|
48375
48413
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
48376
|
-
|
|
48414
|
+
2169 /* TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 */,
|
|
48377
48415
|
this.diagnosticLocation,
|
|
48378
48416
|
[new DisplayableArray(displayableMembers, "\n")]
|
|
48379
48417
|
));
|
|
@@ -48385,7 +48423,7 @@ var BaseMemberConflictsValidator = class {
|
|
|
48385
48423
|
const originalName = this.getOriginalTypeMemberNameConsideringOverriddenMembers(conflictingMembers[0]);
|
|
48386
48424
|
const displayableMembers = conflictingMembers.map((m) => this.diagnosticArgumentFactory.createDisplayableTypeMember(m));
|
|
48387
48425
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
48388
|
-
|
|
48426
|
+
2170 /* TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 */,
|
|
48389
48427
|
this.diagnosticLocation,
|
|
48390
48428
|
[originalName, new DisplayableArray(displayableMembers, "\n")]
|
|
48391
48429
|
));
|
|
@@ -48450,7 +48488,7 @@ var InstanceFieldsInitializationValidator = class {
|
|
|
48450
48488
|
const diagnosticArgumentFactory = this.semanticContext.getDiagnosticArgumentFactory();
|
|
48451
48489
|
for (const field of fields) {
|
|
48452
48490
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
48453
|
-
|
|
48491
|
+
2175 /* Field0HasNoInitializerAndMayNotBeAssignedInConstructor */,
|
|
48454
48492
|
this.getFieldDiagnosticLocationWithFallback(field),
|
|
48455
48493
|
[diagnosticArgumentFactory.createDisplayableEntity(field)]
|
|
48456
48494
|
));
|
|
@@ -48486,7 +48524,7 @@ var InstanceFieldsInitializationValidator = class {
|
|
|
48486
48524
|
for (const field of fields) {
|
|
48487
48525
|
if (!initializedFields.has(field.getOriginalEntity())) {
|
|
48488
48526
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
48489
|
-
|
|
48527
|
+
2175 /* Field0HasNoInitializerAndMayNotBeAssignedInConstructor */,
|
|
48490
48528
|
this.getFieldDiagnosticLocationWithFallback(field),
|
|
48491
48529
|
[diagnosticArgumentFactory.createDisplayableEntity(field)]
|
|
48492
48530
|
));
|
|
@@ -48516,7 +48554,7 @@ var InstanceFieldsInitializationValidator = class {
|
|
|
48516
48554
|
);
|
|
48517
48555
|
if (!assignmentChecker.checkVariableIsAssigned()) {
|
|
48518
48556
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
48519
|
-
|
|
48557
|
+
2175 /* Field0HasNoInitializerAndMayNotBeAssignedInConstructor */,
|
|
48520
48558
|
node.creationKeyword,
|
|
48521
48559
|
[diagnosticArgumentFactory.createDisplayableEntity(field)]
|
|
48522
48560
|
));
|
|
@@ -48825,13 +48863,13 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
48825
48863
|
}
|
|
48826
48864
|
static reportMoreRestrictiveHidingLevelIsRequired(analyzer, diagnosticLocation, diagnostics) {
|
|
48827
48865
|
diagnostics.addDiagnostic(analyzer.createDiagnostic(
|
|
48828
|
-
|
|
48866
|
+
2151 /* WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction */,
|
|
48829
48867
|
diagnosticLocation
|
|
48830
48868
|
));
|
|
48831
48869
|
}
|
|
48832
48870
|
static reportSetterMustHaveSameModifiersAsGetter(analyzer, diagnosticLocation, diagnostics) {
|
|
48833
48871
|
diagnostics.addDiagnostic(analyzer.createDiagnostic(
|
|
48834
|
-
|
|
48872
|
+
2150 /* WriteFunctionMustHaveTheSameModifiersAsReadFunction */,
|
|
48835
48873
|
diagnosticLocation
|
|
48836
48874
|
));
|
|
48837
48875
|
}
|
|
@@ -49001,7 +49039,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49001
49039
|
this.reportDuplicateModifier(modifier, flag, parentGroupFlags);
|
|
49002
49040
|
} else if (!(declarationKind === 3 /* MemberGroupDeclaration */ || declarationKind === 9 /* ClassDeclaration */ || declarationKind === 16 /* InvalidDeclaration */)) {
|
|
49003
49041
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49004
|
-
|
|
49042
|
+
2146 /* BasicModifierCanOnlyBeAppliedToObjectTypes */,
|
|
49005
49043
|
modifier
|
|
49006
49044
|
));
|
|
49007
49045
|
} else if ((flags & 64 /* Abstract */) !== 0) {
|
|
@@ -49019,7 +49057,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49019
49057
|
this.reportDuplicateModifier(modifier, flag, parentGroupFlags);
|
|
49020
49058
|
} else if (!(declarationKind === 3 /* MemberGroupDeclaration */ || declarationKind === 9 /* ClassDeclaration */ || declarationKind === 16 /* InvalidDeclaration */)) {
|
|
49021
49059
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49022
|
-
|
|
49060
|
+
2147 /* AbstractModifierCanOnlyBeAppliedToObjectTypes */,
|
|
49023
49061
|
modifier
|
|
49024
49062
|
));
|
|
49025
49063
|
} else if ((flags & 128 /* Basic */) !== 0) {
|
|
@@ -49089,7 +49127,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49089
49127
|
if (firstModifier !== void 0 || parentGroupFlags !== 0 /* None */) {
|
|
49090
49128
|
const diagnosticLocation = firstModifier ?? node.creationKeyword;
|
|
49091
49129
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49092
|
-
|
|
49130
|
+
2138 /* PackageConstructorDeclarationCannotHaveModifiers */,
|
|
49093
49131
|
diagnosticLocation
|
|
49094
49132
|
));
|
|
49095
49133
|
}
|
|
@@ -49099,7 +49137,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49099
49137
|
if (firstModifier !== void 0 || parentGroupFlags !== 0 /* None */) {
|
|
49100
49138
|
const diagnosticLocation = firstModifier ?? node.runKeyword;
|
|
49101
49139
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49102
|
-
|
|
49140
|
+
2139 /* PackageEntryPointDeclarationCannotHaveModifiers */,
|
|
49103
49141
|
diagnosticLocation
|
|
49104
49142
|
));
|
|
49105
49143
|
}
|
|
@@ -49109,7 +49147,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49109
49147
|
if (firstModifier !== void 0 || parentGroupFlags !== 0 /* None */) {
|
|
49110
49148
|
const diagnosticLocation = firstModifier ?? node.translationsKeyword;
|
|
49111
49149
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49112
|
-
|
|
49150
|
+
2140 /* TranslationsCannotHaveModifiers */,
|
|
49113
49151
|
diagnosticLocation
|
|
49114
49152
|
));
|
|
49115
49153
|
}
|
|
@@ -49233,7 +49271,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49233
49271
|
this.reportDuplicateHiddenModifier(modifier, parentGroupFlags);
|
|
49234
49272
|
} else if (typeMemberDeclarationKind === 145 /* VariantValueDeclaration */) {
|
|
49235
49273
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49236
|
-
|
|
49274
|
+
2145 /* VariantValueCannotBeHidden */,
|
|
49237
49275
|
modifier
|
|
49238
49276
|
));
|
|
49239
49277
|
} else if ((flag & 3 /* HiddenInTypeOrWithoutLevel */) !== 0 && (flags & 64 /* Abstract */) !== 0) {
|
|
@@ -49256,7 +49294,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49256
49294
|
this.reportDuplicateModifier(modifier, flag, parentGroupFlags);
|
|
49257
49295
|
} else if (!(isTypeMarkedAbstract && declarationWithMembersKind === 0 /* Class */ || declarationWithMembersKind === 2 /* Aspect */)) {
|
|
49258
49296
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49259
|
-
|
|
49297
|
+
2141 /* AbstractModifierCanOnlyBeUsedInAbstractObjectTypes */,
|
|
49260
49298
|
modifier
|
|
49261
49299
|
));
|
|
49262
49300
|
} else if (!this.typeMemberAllowsAbstractModifier(typeMemberDeclarationKind)) {
|
|
@@ -49286,19 +49324,19 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49286
49324
|
this.reportDuplicateModifier(modifier, flag, parentGroupFlags);
|
|
49287
49325
|
} else if (!(declarationWithMembersKind === 0 /* Class */ || declarationWithMembersKind === 2 /* Aspect */ || declarationWithMembersKind === 4 /* AliasType */ || declarationWithMembersKind === 6 /* TypeExtension */)) {
|
|
49288
49326
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49289
|
-
|
|
49327
|
+
2142 /* BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases */,
|
|
49290
49328
|
modifier
|
|
49291
49329
|
));
|
|
49292
49330
|
} else if (!this.typeMemberAllowsBasicModifier(typeMemberDeclarationKind)) {
|
|
49293
49331
|
this.reportModifierIsNotAllowedHere(modifier);
|
|
49294
49332
|
} else if (typeMemberDeclarationKind === 49 /* FieldDeclaration */ && declarationWithMembersKind === 2 /* Aspect */) {
|
|
49295
49333
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49296
|
-
|
|
49334
|
+
2149 /* BasicModifierCannotBeAppliedToAspectTypeFields */,
|
|
49297
49335
|
modifier
|
|
49298
49336
|
));
|
|
49299
49337
|
} else if (declarationWithMembersKind === 0 /* Class */ && !(isTypeMarkedAbstract || isTypeMarkedBasic)) {
|
|
49300
49338
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49301
|
-
|
|
49339
|
+
2148 /* NotBasicObjectTypesCannotHaveBasicMembers */,
|
|
49302
49340
|
modifier
|
|
49303
49341
|
));
|
|
49304
49342
|
} else if ((flags & 3 /* HiddenInTypeOrWithoutLevel */) !== 0) {
|
|
@@ -49326,7 +49364,7 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49326
49364
|
this.reportDuplicateModifier(modifier, flag, parentGroupFlags);
|
|
49327
49365
|
} else if (!(declarationWithMembersKind === 0 /* Class */ || declarationWithMembersKind === 1 /* Structure */ || declarationWithMembersKind === 2 /* Aspect */)) {
|
|
49328
49366
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49329
|
-
|
|
49367
|
+
2143 /* OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes */,
|
|
49330
49368
|
modifier
|
|
49331
49369
|
));
|
|
49332
49370
|
} else if (!this.typeMemberAllowsOverrideModifier(typeMemberDeclarationKind)) {
|
|
@@ -49434,20 +49472,20 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49434
49472
|
return (_ModifierValidator.allowedModifiersByTypeMemberDeclarationKind[kind] & 32 /* Static */) !== 0;
|
|
49435
49473
|
}
|
|
49436
49474
|
reportDuplicateModifier(node, flag, parentGroupFlags) {
|
|
49437
|
-
const code = (parentGroupFlags & flag) === 0 ?
|
|
49475
|
+
const code = (parentGroupFlags & flag) === 0 ? 2134 /* ModifierListAlreadyContains0Modifier */ : 2135 /* ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier */;
|
|
49438
49476
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(code, node, [this.displayModifierNode(node)]));
|
|
49439
49477
|
}
|
|
49440
49478
|
reportDuplicateHiddenModifier(node, parentGroupFlags) {
|
|
49441
49479
|
let diagnostic;
|
|
49442
49480
|
if ((parentGroupFlags & 31 /* AnyHiddenModifier */) === 0) {
|
|
49443
49481
|
diagnostic = this.analyzer.createDiagnostic(
|
|
49444
|
-
|
|
49482
|
+
2134 /* ModifierListAlreadyContains0Modifier */,
|
|
49445
49483
|
node,
|
|
49446
49484
|
[this.displayModifierNode(node, false)]
|
|
49447
49485
|
);
|
|
49448
49486
|
} else {
|
|
49449
49487
|
diagnostic = this.analyzer.createDiagnostic(
|
|
49450
|
-
|
|
49488
|
+
2135 /* ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier */,
|
|
49451
49489
|
node,
|
|
49452
49490
|
[this.displayModifierNode(this.findModifier(31 /* AnyHiddenModifier */))]
|
|
49453
49491
|
);
|
|
@@ -49456,21 +49494,21 @@ var ModifierValidator = class _ModifierValidator {
|
|
|
49456
49494
|
}
|
|
49457
49495
|
reportDeclarationCannotBePlacedInGroupWithModifier(diagnosticLocation, modifier) {
|
|
49458
49496
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49459
|
-
|
|
49497
|
+
2137 /* DeclarationCannotBePlacedInGroupHaving0Modifier */,
|
|
49460
49498
|
diagnosticLocation,
|
|
49461
49499
|
[this.displayModifierNode(modifier)]
|
|
49462
49500
|
));
|
|
49463
49501
|
}
|
|
49464
49502
|
reportModifierCannotBeUsedWithAnotherModifier(firstModifier, secondModifier) {
|
|
49465
49503
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49466
|
-
|
|
49504
|
+
2144 /* _0ModifierCannotBeUsedWith1Modifier */,
|
|
49467
49505
|
firstModifier,
|
|
49468
49506
|
[this.displayModifierNode(firstModifier), this.displayModifierNode(secondModifier)]
|
|
49469
49507
|
));
|
|
49470
49508
|
}
|
|
49471
49509
|
reportModifierIsNotAllowedHere(node) {
|
|
49472
49510
|
this.diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
49473
|
-
|
|
49511
|
+
2136 /* _0ModifierIsNotAllowedHere */,
|
|
49474
49512
|
node,
|
|
49475
49513
|
[this.displayModifierNode(node)]
|
|
49476
49514
|
));
|
|
@@ -49530,7 +49568,7 @@ var TypeMemberConflictsValidator = class {
|
|
|
49530
49568
|
} else {
|
|
49531
49569
|
this.reportNameConflictDiagnosticsForAllEntities(
|
|
49532
49570
|
members2,
|
|
49533
|
-
|
|
49571
|
+
2117 /* TypeAlreadyContainsDeclarationWithTheSameName */
|
|
49534
49572
|
);
|
|
49535
49573
|
}
|
|
49536
49574
|
}
|
|
@@ -49544,7 +49582,7 @@ var TypeMemberConflictsValidator = class {
|
|
|
49544
49582
|
if (this.analyzer.conflictsCheck.doFunctionSignaturesConflict(entity, memberToCheckAgainst)) {
|
|
49545
49583
|
this.reportNameConflictDiagnostic(
|
|
49546
49584
|
entity,
|
|
49547
|
-
|
|
49585
|
+
2118 /* TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes */
|
|
49548
49586
|
);
|
|
49549
49587
|
break;
|
|
49550
49588
|
}
|
|
@@ -49554,22 +49592,22 @@ var TypeMemberConflictsValidator = class {
|
|
|
49554
49592
|
validateConstructors(members) {
|
|
49555
49593
|
this.validateMembersWithoutTypeParametersInSignature(
|
|
49556
49594
|
members,
|
|
49557
|
-
|
|
49595
|
+
2119 /* TypeAlreadyContainsConstructorWithTheSameParameterTypes */
|
|
49558
49596
|
);
|
|
49559
49597
|
}
|
|
49560
49598
|
validateDestructors(members) {
|
|
49561
49599
|
if (members.length > 1) {
|
|
49562
|
-
this.reportNameConflictDiagnosticsForAllEntities(members,
|
|
49600
|
+
this.reportNameConflictDiagnosticsForAllEntities(members, 2121 /* TypeCanHaveOnlyOneDestructor */);
|
|
49563
49601
|
}
|
|
49564
49602
|
}
|
|
49565
49603
|
validateIndexers(members) {
|
|
49566
49604
|
this.validateMembersWithoutTypeParametersInSignature(
|
|
49567
49605
|
members.filter((m) => !m.isStatic()),
|
|
49568
|
-
|
|
49606
|
+
2120 /* TypeAlreadyContainsIndexerWithTheSameParameterTypes */
|
|
49569
49607
|
);
|
|
49570
49608
|
this.validateMembersWithoutTypeParametersInSignature(
|
|
49571
49609
|
members.filter((m) => m.isStatic()),
|
|
49572
|
-
|
|
49610
|
+
2120 /* TypeAlreadyContainsIndexerWithTheSameParameterTypes */
|
|
49573
49611
|
);
|
|
49574
49612
|
}
|
|
49575
49613
|
validateDereferenceOperators(members) {
|
|
@@ -49577,14 +49615,14 @@ var TypeMemberConflictsValidator = class {
|
|
|
49577
49615
|
if (instanceDereferenceOperators.length > 1) {
|
|
49578
49616
|
this.reportNameConflictDiagnosticsForAllEntities(
|
|
49579
49617
|
instanceDereferenceOperators,
|
|
49580
|
-
|
|
49618
|
+
2122 /* TypeCanHaveOnlyOneDereferenceOperator */
|
|
49581
49619
|
);
|
|
49582
49620
|
}
|
|
49583
49621
|
const staticDereferenceOperators = members.filter((m) => m.isStatic());
|
|
49584
49622
|
if (staticDereferenceOperators.length > 1) {
|
|
49585
49623
|
this.reportNameConflictDiagnosticsForAllEntities(
|
|
49586
49624
|
staticDereferenceOperators,
|
|
49587
|
-
|
|
49625
|
+
2122 /* TypeCanHaveOnlyOneDereferenceOperator */
|
|
49588
49626
|
);
|
|
49589
49627
|
}
|
|
49590
49628
|
}
|
|
@@ -49887,7 +49925,7 @@ var SourceFileAnalyzer = class {
|
|
|
49887
49925
|
(p) => p.isPrimary() && p !== textTranslationPackage
|
|
49888
49926
|
)) {
|
|
49889
49927
|
this.createAndAddDiagnostic(
|
|
49890
|
-
|
|
49928
|
+
2195 /* OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary */,
|
|
49891
49929
|
node.translationsKeyword,
|
|
49892
49930
|
[]
|
|
49893
49931
|
);
|
|
@@ -49932,13 +49970,13 @@ var SourceFileAnalyzer = class {
|
|
|
49932
49970
|
}
|
|
49933
49971
|
case 21 /* PackageConstructorDeclaration */: {
|
|
49934
49972
|
if (this.isInterfacePackageFile) {
|
|
49935
|
-
this.createAndAddDiagnostic(
|
|
49973
|
+
this.createAndAddDiagnostic(2060 /* InterfacePackageMustNotContainImplementation */, node);
|
|
49936
49974
|
}
|
|
49937
49975
|
break;
|
|
49938
49976
|
}
|
|
49939
49977
|
case 22 /* PackageEntryPointDeclaration */: {
|
|
49940
49978
|
if (this.isInterfacePackageFile) {
|
|
49941
|
-
this.createAndAddDiagnostic(
|
|
49979
|
+
this.createAndAddDiagnostic(2060 /* InterfacePackageMustNotContainImplementation */, node.runKeyword);
|
|
49942
49980
|
}
|
|
49943
49981
|
break;
|
|
49944
49982
|
}
|
|
@@ -50068,7 +50106,7 @@ var SourceFileAnalyzer = class {
|
|
|
50068
50106
|
parent = getParentSkippingParenthesizedExpressions(parent);
|
|
50069
50107
|
}
|
|
50070
50108
|
if (!(parent.kind === 73 /* MemberAccessExpression */ || parent.kind === 67 /* IndexedAccessExpression */ || parent.kind === 75 /* DereferenceExpression */)) {
|
|
50071
|
-
this.createAndAddDiagnostic(
|
|
50109
|
+
this.createAndAddDiagnostic(2059 /* BaseCannotBeUsedAsAnExpressionInItself */, node);
|
|
50072
50110
|
}
|
|
50073
50111
|
} else if (meaning.kind === "overridden-method-access" && meaning.method.kind === "substituted-function") {
|
|
50074
50112
|
const typeArgumentClause = getParentGenericSpecializationExpression(node)?.typeArgumentClause;
|
|
@@ -50092,7 +50130,7 @@ var SourceFileAnalyzer = class {
|
|
|
50092
50130
|
case 19 /* PackageAliasTypeDeclaration */: {
|
|
50093
50131
|
const entity = this.analyzer.entity.ofPackageAliasTypeDeclaration(node);
|
|
50094
50132
|
if (entity.getAliasedType().causesCycle) {
|
|
50095
|
-
this.createAndAddDiagnostic(
|
|
50133
|
+
this.createAndAddDiagnostic(2080 /* TypeAliasReferencesItself */, node.name);
|
|
50096
50134
|
}
|
|
50097
50135
|
if (node.typeParameterClause !== void 0) {
|
|
50098
50136
|
this.analyzer.semanticContext.ofTypeDeclarationTypeParameters(node, node.typeParameterClause).validateNameConflicts(this.diagnosticAcceptor);
|
|
@@ -50112,7 +50150,7 @@ var SourceFileAnalyzer = class {
|
|
|
50112
50150
|
const entity = this.analyzer.entity.ofPackageReducedTypeDeclaration(node);
|
|
50113
50151
|
entity.ensureAllDiagnosticsReported?.();
|
|
50114
50152
|
if (entity.getReductionSource().causesCycle) {
|
|
50115
|
-
this.createAndAddDiagnostic(
|
|
50153
|
+
this.createAndAddDiagnostic(2081 /* ReducedTypeReferencesItself */, node.name);
|
|
50116
50154
|
}
|
|
50117
50155
|
if (node.typeParameterClause !== void 0) {
|
|
50118
50156
|
this.analyzer.semanticContext.ofTypeDeclarationTypeParameters(node, node.typeParameterClause).validateNameConflicts(this.diagnosticAcceptor);
|
|
@@ -50136,7 +50174,7 @@ var SourceFileAnalyzer = class {
|
|
|
50136
50174
|
const entity = this.analyzer.entity.ofLocalVariableDeclaration(node);
|
|
50137
50175
|
entity.ensureAllDiagnosticsReported?.();
|
|
50138
50176
|
if (node.typeAnnotation === void 0 && node.initializer === void 0) {
|
|
50139
|
-
this.createAndAddDiagnostic(
|
|
50177
|
+
this.createAndAddDiagnostic(2183 /* VariableTypeIsNotSpecified */, node.name);
|
|
50140
50178
|
} else if (node.initializer !== void 0 && node.typeAnnotation !== void 0) {
|
|
50141
50179
|
this.checkExpressionTypeIsAssignableToTargetType(
|
|
50142
50180
|
node.initializer,
|
|
@@ -50247,7 +50285,7 @@ var SourceFileAnalyzer = class {
|
|
|
50247
50285
|
}
|
|
50248
50286
|
case 74 /* ReferenceExpression */: {
|
|
50249
50287
|
if (!this.analyzer.expressionCanBeReferenced(node.expression)) {
|
|
50250
|
-
this.createAndAddDiagnostic(
|
|
50288
|
+
this.createAndAddDiagnostic(2188 /* ExpressionCannotBeReferenced */, node.expression);
|
|
50251
50289
|
}
|
|
50252
50290
|
break;
|
|
50253
50291
|
}
|
|
@@ -50381,7 +50419,7 @@ var SourceFileAnalyzer = class {
|
|
|
50381
50419
|
break;
|
|
50382
50420
|
default:
|
|
50383
50421
|
this.createAndAddDiagnostic(
|
|
50384
|
-
|
|
50422
|
+
2224 /* QuestionOperatorCanBeUsedOnlyInSpecificExpressions */,
|
|
50385
50423
|
node.questionToken
|
|
50386
50424
|
);
|
|
50387
50425
|
}
|
|
@@ -50399,7 +50437,7 @@ var SourceFileAnalyzer = class {
|
|
|
50399
50437
|
const entity = this.analyzer.entity.ofPackageStructuredTypeDeclaration(node);
|
|
50400
50438
|
entity.ensureAllDiagnosticsReported?.();
|
|
50401
50439
|
if (entity.getBaseObjectType().causesCycle || entity.getBaseAspectTypes().causesCycle) {
|
|
50402
|
-
this.createAndAddDiagnostic(
|
|
50440
|
+
this.createAndAddDiagnostic(2083 /* BaseTypeCausesInheritanceCycle */, node.name);
|
|
50403
50441
|
}
|
|
50404
50442
|
if (node.typeParameterClause !== void 0) {
|
|
50405
50443
|
this.analyzer.semanticContext.ofTypeDeclarationTypeParameters(node, node.typeParameterClause).validateNameConflicts(this.diagnosticAcceptor);
|
|
@@ -50445,7 +50483,7 @@ var SourceFileAnalyzer = class {
|
|
|
50445
50483
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(specialVariableInfo.computedVariable);
|
|
50446
50484
|
if (diagnosticLocation !== void 0) {
|
|
50447
50485
|
this.createAndAddDiagnostic(
|
|
50448
|
-
|
|
50486
|
+
2222 /* StructureFieldsMustBeImmutableAutomaticallyCreatedStoredFieldIsMutable */,
|
|
50449
50487
|
diagnosticLocation
|
|
50450
50488
|
);
|
|
50451
50489
|
addedDiagnostic = true;
|
|
@@ -50454,7 +50492,7 @@ var SourceFileAnalyzer = class {
|
|
|
50454
50492
|
} else {
|
|
50455
50493
|
const diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(member);
|
|
50456
50494
|
if (diagnosticLocation !== void 0) {
|
|
50457
|
-
this.createAndAddDiagnostic(
|
|
50495
|
+
this.createAndAddDiagnostic(2221 /* StructureFieldsMustBeImmutable */, diagnosticLocation);
|
|
50458
50496
|
addedDiagnostic = true;
|
|
50459
50497
|
}
|
|
50460
50498
|
}
|
|
@@ -50499,7 +50537,7 @@ var SourceFileAnalyzer = class {
|
|
|
50499
50537
|
diagnosticLocation = this.analyzer.getEntityDiagnosticLocation(member);
|
|
50500
50538
|
}
|
|
50501
50539
|
if (diagnosticLocation !== void 0) {
|
|
50502
|
-
this.createAndAddDiagnostic(
|
|
50540
|
+
this.createAndAddDiagnostic(2223 /* FieldTypeCausesRecursiveStructureLayout */, diagnosticLocation);
|
|
50503
50541
|
}
|
|
50504
50542
|
break;
|
|
50505
50543
|
}
|
|
@@ -50649,16 +50687,16 @@ var SourceFileAnalyzer = class {
|
|
|
50649
50687
|
if (expressionType.getEntity()?.getOriginalEntity() === this.analyzer.originalWellKnownDeclarations.impossibleCase) {
|
|
50650
50688
|
const controlFlowNode = this.analyzer.getControlFlowGraph(this.sourceFile).controlFlowNodesPrecedingErrorStatement.get(node);
|
|
50651
50689
|
if (controlFlowNode !== void 0 && this.analyzer.reachabilityChecker.isControlFlowNodeReachable(controlFlowNode)) {
|
|
50652
|
-
this.createAndAddDiagnostic(
|
|
50690
|
+
this.createAndAddDiagnostic(2212 /* TheCodeWasExpectedToBeUnreachable */, node);
|
|
50653
50691
|
}
|
|
50654
50692
|
}
|
|
50655
50693
|
}
|
|
50656
50694
|
checkBreakLoopOrContinueLoopStatement(node) {
|
|
50657
50695
|
const checkResult = this.isStatementUsedInsideLoop(node);
|
|
50658
50696
|
if (!checkResult.isUsedInsideLoop) {
|
|
50659
|
-
this.createAndAddDiagnostic(
|
|
50697
|
+
this.createAndAddDiagnostic(2210 /* BreakLoopAndContinueLoopStatementsCanOnlyBeUsedInsideALoop */, node);
|
|
50660
50698
|
} else if (checkResult.isUsedInsideFinallyBlock) {
|
|
50661
|
-
this.createAndAddDiagnostic(
|
|
50699
|
+
this.createAndAddDiagnostic(2211 /* BreakLoopAndContinueLoopStatementsCannotBeUsedInFinallyBlock */, node);
|
|
50662
50700
|
}
|
|
50663
50701
|
}
|
|
50664
50702
|
isStatementUsedInsideLoop(node) {
|
|
@@ -50740,7 +50778,7 @@ var SourceFileAnalyzer = class {
|
|
|
50740
50778
|
const type = this.analyzer.resolveNamedTypeSpecifier(node2).type;
|
|
50741
50779
|
if (type?.kind === "parameter" && notYetDeclaredParameters.has(type.getEntity().getOriginalEntity())) {
|
|
50742
50780
|
this.createAndAddDiagnostic(
|
|
50743
|
-
|
|
50781
|
+
2185 /* TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters */,
|
|
50744
50782
|
node2
|
|
50745
50783
|
);
|
|
50746
50784
|
}
|
|
@@ -50760,7 +50798,7 @@ var SourceFileAnalyzer = class {
|
|
|
50760
50798
|
seenOptionalTypeParameter = true;
|
|
50761
50799
|
} else if (seenOptionalTypeParameter) {
|
|
50762
50800
|
this.createAndAddDiagnostic(
|
|
50763
|
-
|
|
50801
|
+
2186 /* RequiredTypeParametersCannotFollowTypeParametersWithDefaults */,
|
|
50764
50802
|
typeParameterDeclaration
|
|
50765
50803
|
);
|
|
50766
50804
|
break;
|
|
@@ -50771,7 +50809,7 @@ var SourceFileAnalyzer = class {
|
|
|
50771
50809
|
const entity = this.analyzer.entity.ofTypeParameterDeclaration(node);
|
|
50772
50810
|
const constraint = entity.getConstraint();
|
|
50773
50811
|
if (constraint.causesCycle) {
|
|
50774
|
-
this.createAndAddDiagnostic(
|
|
50812
|
+
this.createAndAddDiagnostic(2082 /* TypeParameterHasCircularConstraint */, node.name);
|
|
50775
50813
|
}
|
|
50776
50814
|
if (constraint.cycleFree !== void 0) {
|
|
50777
50815
|
const defaultType = entity.getDefaultType();
|
|
@@ -50780,7 +50818,7 @@ var SourceFileAnalyzer = class {
|
|
|
50780
50818
|
defaultType,
|
|
50781
50819
|
constraint.cycleFree,
|
|
50782
50820
|
node.defaultType ?? node,
|
|
50783
|
-
|
|
50821
|
+
2087 /* Type0IsNotAssignableToConstraint1 */
|
|
50784
50822
|
);
|
|
50785
50823
|
}
|
|
50786
50824
|
}
|
|
@@ -50799,7 +50837,7 @@ var SourceFileAnalyzer = class {
|
|
|
50799
50837
|
for (const parameterDeclaration2 of node.parameterClause.parameterList.parameters) {
|
|
50800
50838
|
if (parameterDeclaration2.typeAnnotation === void 0) {
|
|
50801
50839
|
this.createAndAddDiagnostic(
|
|
50802
|
-
|
|
50840
|
+
2184 /* CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter */,
|
|
50803
50841
|
parameterDeclaration2.name
|
|
50804
50842
|
);
|
|
50805
50843
|
}
|
|
@@ -50820,7 +50858,7 @@ var SourceFileAnalyzer = class {
|
|
|
50820
50858
|
if (meaning.kind === "resolved") {
|
|
50821
50859
|
const entity = meaning.operator.getEntity();
|
|
50822
50860
|
if (this.isReceiverBaseAutoVariableAccess(node.expression) && TypeMemberEntity.isAbstract(entity)) {
|
|
50823
|
-
this.createAndAddDiagnostic(
|
|
50861
|
+
this.createAndAddDiagnostic(2168 /* CannotAccessAbstractMemberOfBaseType */, node.caretToken);
|
|
50824
50862
|
}
|
|
50825
50863
|
}
|
|
50826
50864
|
}
|
|
@@ -50834,7 +50872,7 @@ var SourceFileAnalyzer = class {
|
|
|
50834
50872
|
node.closeSquareBracketToken.rangeWithoutTrivia.end
|
|
50835
50873
|
);
|
|
50836
50874
|
this.addDiagnostic(this.analyzer.createSourceFileRangeDiagnostic(
|
|
50837
|
-
|
|
50875
|
+
2168 /* CannotAccessAbstractMemberOfBaseType */,
|
|
50838
50876
|
range,
|
|
50839
50877
|
this.sourceFile
|
|
50840
50878
|
));
|
|
@@ -50855,7 +50893,7 @@ var SourceFileAnalyzer = class {
|
|
|
50855
50893
|
const containingSubprogram = this.analyzer.semanticContext.containing(node).getContainingSubprogram();
|
|
50856
50894
|
if (containingSubprogram?.allowsAsyncCalls() !== true) {
|
|
50857
50895
|
this.createAndAddDiagnostic(
|
|
50858
|
-
|
|
50896
|
+
2101 /* AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier */,
|
|
50859
50897
|
node
|
|
50860
50898
|
);
|
|
50861
50899
|
}
|
|
@@ -50877,7 +50915,7 @@ var SourceFileAnalyzer = class {
|
|
|
50877
50915
|
if (entities.length <= maxDisplayedEntitiesCount) {
|
|
50878
50916
|
const displayableEntities = entities.map((e) => this.diagnosticArgumentFactory.createDisplayableEntity(e));
|
|
50879
50917
|
result = this.analyzer.createDiagnostic(
|
|
50880
|
-
|
|
50918
|
+
2095 /* TheFollowingTextsAreNotTranslated0 */,
|
|
50881
50919
|
diagnosticLocation,
|
|
50882
50920
|
[new DisplayableArray(displayableEntities, "\n\n")],
|
|
50883
50921
|
1 /* Warning */
|
|
@@ -50885,7 +50923,7 @@ var SourceFileAnalyzer = class {
|
|
|
50885
50923
|
} else {
|
|
50886
50924
|
const displayableEntities = entities.slice(0, maxDisplayedEntitiesCount + 1).map((e) => this.diagnosticArgumentFactory.createDisplayableEntity(e));
|
|
50887
50925
|
result = this.analyzer.createDiagnostic(
|
|
50888
|
-
|
|
50926
|
+
2096 /* TheFollowingTextsAreNotTranslated0And1More */,
|
|
50889
50927
|
diagnosticLocation,
|
|
50890
50928
|
[new DisplayableArray(displayableEntities, "\n\n"), entities.length - maxDisplayedEntitiesCount],
|
|
50891
50929
|
1 /* Warning */
|
|
@@ -50896,7 +50934,7 @@ var SourceFileAnalyzer = class {
|
|
|
50896
50934
|
checkAllDefaultConstructorArgumentsAreNamed(node) {
|
|
50897
50935
|
for (const argument2 of node.argumentList.arguments) {
|
|
50898
50936
|
if (argument2.name === void 0) {
|
|
50899
|
-
this.createAndAddDiagnostic(
|
|
50937
|
+
this.createAndAddDiagnostic(2091 /* DefaultConstructorArgumentsMustBeNamed */, argument2);
|
|
50900
50938
|
break;
|
|
50901
50939
|
}
|
|
50902
50940
|
}
|
|
@@ -50906,11 +50944,11 @@ var SourceFileAnalyzer = class {
|
|
|
50906
50944
|
entity.ensureAllDiagnosticsReported?.();
|
|
50907
50945
|
if (this.isInterfacePackageFile) {
|
|
50908
50946
|
if (node.initializer !== void 0) {
|
|
50909
|
-
this.createAndAddDiagnostic(
|
|
50947
|
+
this.createAndAddDiagnostic(2061 /* InterfacePackageVariablesMustNotHaveInitializers */, node.name);
|
|
50910
50948
|
}
|
|
50911
50949
|
}
|
|
50912
50950
|
if (node.typeAnnotation === void 0 && node.initializer === void 0) {
|
|
50913
|
-
this.createAndAddDiagnostic(
|
|
50951
|
+
this.createAndAddDiagnostic(2183 /* VariableTypeIsNotSpecified */, node.name);
|
|
50914
50952
|
} else if (node.initializer !== void 0 && node.typeAnnotation !== void 0) {
|
|
50915
50953
|
this.checkExpressionTypeIsAssignableToTargetType(
|
|
50916
50954
|
node.initializer,
|
|
@@ -50973,12 +51011,12 @@ var SourceFileAnalyzer = class {
|
|
|
50973
51011
|
if (operatorKind !== void 0) {
|
|
50974
51012
|
if (node.typeParameterClause !== void 0) {
|
|
50975
51013
|
this.createAndAddDiagnostic(
|
|
50976
|
-
|
|
51014
|
+
2229 /* OperatorCannotContainTypeParameterDeclarations */,
|
|
50977
51015
|
node.typeParameterClause
|
|
50978
51016
|
);
|
|
50979
51017
|
}
|
|
50980
51018
|
if (entity.isAsync()) {
|
|
50981
|
-
this.createAndAddDiagnostic(
|
|
51019
|
+
this.createAndAddDiagnostic(2228 /* OperatorCannotBeAsync */, node.name);
|
|
50982
51020
|
}
|
|
50983
51021
|
const syntacticalOperatorKind = node.name.operatorKind;
|
|
50984
51022
|
if (syntacticalOperatorKind !== void 0) {
|
|
@@ -50993,7 +51031,7 @@ var SourceFileAnalyzer = class {
|
|
|
50993
51031
|
this.sourceFile.dialect
|
|
50994
51032
|
);
|
|
50995
51033
|
this.createAndAddDiagnostic(
|
|
50996
|
-
|
|
51034
|
+
2097 /* OperatorFunction0MustNotHaveParameters */,
|
|
50997
51035
|
node.name,
|
|
50998
51036
|
[operatorText]
|
|
50999
51037
|
);
|
|
@@ -51008,7 +51046,7 @@ var SourceFileAnalyzer = class {
|
|
|
51008
51046
|
this.sourceFile.dialect
|
|
51009
51047
|
);
|
|
51010
51048
|
this.createAndAddDiagnostic(
|
|
51011
|
-
|
|
51049
|
+
2099 /* OperatorFunction0MustHaveNoMoreThanOneParameter */,
|
|
51012
51050
|
node.name,
|
|
51013
51051
|
[operatorText]
|
|
51014
51052
|
);
|
|
@@ -51023,7 +51061,7 @@ var SourceFileAnalyzer = class {
|
|
|
51023
51061
|
this.sourceFile.dialect
|
|
51024
51062
|
);
|
|
51025
51063
|
this.createAndAddDiagnostic(
|
|
51026
|
-
|
|
51064
|
+
2098 /* OperatorFunction0MustHaveOneParameter */,
|
|
51027
51065
|
node.name,
|
|
51028
51066
|
[operatorText]
|
|
51029
51067
|
);
|
|
@@ -51057,23 +51095,23 @@ var SourceFileAnalyzer = class {
|
|
|
51057
51095
|
const entity = this.analyzer.entity.ofFieldDeclaration(node);
|
|
51058
51096
|
entity.ensureAllDiagnosticsReported?.();
|
|
51059
51097
|
if (TypeMemberEntity.isAspectMember(entity) && !entity.isStatic() && !entity.markedAbstract()) {
|
|
51060
|
-
this.createAndAddDiagnostic(
|
|
51098
|
+
this.createAndAddDiagnostic(2065 /* AspectTypeFieldsMustBeAbstract */, node.name);
|
|
51061
51099
|
}
|
|
51062
51100
|
if (this.isInterfacePackageFile) {
|
|
51063
51101
|
if (node.initializer !== void 0) {
|
|
51064
|
-
this.createAndAddDiagnostic(
|
|
51102
|
+
this.createAndAddDiagnostic(2061 /* InterfacePackageVariablesMustNotHaveInitializers */, node.name);
|
|
51065
51103
|
}
|
|
51066
51104
|
} else if (TypeMemberEntity.isReducedTypeMember(entity)) {
|
|
51067
51105
|
if (node.initializer !== void 0) {
|
|
51068
|
-
this.createAndAddDiagnostic(
|
|
51106
|
+
this.createAndAddDiagnostic(2069 /* ReducedTypeFieldsMustNotHaveInitializers */, node.name);
|
|
51069
51107
|
}
|
|
51070
51108
|
} else if (entity.markedAbstract()) {
|
|
51071
51109
|
if (node.initializer !== void 0) {
|
|
51072
|
-
this.createAndAddDiagnostic(
|
|
51110
|
+
this.createAndAddDiagnostic(2068 /* AbstractFieldsMustNotHaveInitializers */, node.name);
|
|
51073
51111
|
}
|
|
51074
51112
|
}
|
|
51075
51113
|
if (node.typeAnnotation === void 0 && node.initializer === void 0) {
|
|
51076
|
-
this.createAndAddDiagnostic(
|
|
51114
|
+
this.createAndAddDiagnostic(2183 /* VariableTypeIsNotSpecified */, node.name);
|
|
51077
51115
|
} else if (node.initializer !== void 0 && node.typeAnnotation !== void 0) {
|
|
51078
51116
|
this.checkExpressionTypeIsAssignableToTargetType(
|
|
51079
51117
|
node.initializer,
|
|
@@ -51176,7 +51214,7 @@ var SourceFileAnalyzer = class {
|
|
|
51176
51214
|
const hasCorrectReturnType = this.analyzer.ifTypeEnumerableOrEnumeratorThenElementType(returnType) !== void 0;
|
|
51177
51215
|
if (!hasCorrectReturnType) {
|
|
51178
51216
|
this.createAndAddDiagnostic(
|
|
51179
|
-
|
|
51217
|
+
2075 /* FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType */,
|
|
51180
51218
|
diagnosticLocation
|
|
51181
51219
|
);
|
|
51182
51220
|
}
|
|
@@ -51188,12 +51226,12 @@ var SourceFileAnalyzer = class {
|
|
|
51188
51226
|
const returnType = containingSubprogram?.getReturnType();
|
|
51189
51227
|
if (containingSubprogram?.isGenerator() === true) {
|
|
51190
51228
|
if (node.expression !== void 0) {
|
|
51191
|
-
this.createAndAddDiagnostic(
|
|
51229
|
+
this.createAndAddDiagnostic(2072 /* FunctionsUsingYieldStatementCannotReturnValue */, node.returnKeyword);
|
|
51192
51230
|
}
|
|
51193
51231
|
} else if (returnType === void 0 && node.expression !== void 0) {
|
|
51194
|
-
this.createAndAddDiagnostic(
|
|
51232
|
+
this.createAndAddDiagnostic(2071 /* OnlySubprogramsWithReturnTypeCanReturnValue */, node.returnKeyword);
|
|
51195
51233
|
} else if (returnType !== void 0 && node.expression === void 0 && !returnType.isNullType) {
|
|
51196
|
-
this.createAndAddDiagnostic(
|
|
51234
|
+
this.createAndAddDiagnostic(2078 /* SubprogramMustReturnValue */, node.returnKeyword);
|
|
51197
51235
|
} else if (returnType !== void 0 && node.expression !== void 0) {
|
|
51198
51236
|
this.checkExpressionTypeIsAssignableToTargetType(node.expression, returnType);
|
|
51199
51237
|
}
|
|
@@ -51202,18 +51240,18 @@ var SourceFileAnalyzer = class {
|
|
|
51202
51240
|
const semanticContext = this.analyzer.semanticContext.containing(node);
|
|
51203
51241
|
const containingSubprogram = semanticContext.getContainingSubprogram();
|
|
51204
51242
|
if (containingSubprogram?.kind === "function-literal") {
|
|
51205
|
-
this.createAndAddDiagnostic(
|
|
51243
|
+
this.createAndAddDiagnostic(2073 /* YieldStatementCannotBeUsedInAnonymousFunctions */, node.yieldKeyword);
|
|
51206
51244
|
} else if (containingSubprogram?.isGenerator() !== true) {
|
|
51207
|
-
this.createAndAddDiagnostic(
|
|
51245
|
+
this.createAndAddDiagnostic(2074 /* YieldStatementCannotBeUsedHere */, node.yieldKeyword);
|
|
51208
51246
|
} else {
|
|
51209
51247
|
const tryStatementContext = semanticContext.getTryStatementContext();
|
|
51210
51248
|
if (tryStatementContext === 0 /* InTryBlockWithCatchClause */) {
|
|
51211
51249
|
this.createAndAddDiagnostic(
|
|
51212
|
-
|
|
51250
|
+
2076 /* YieldStatementCannotBeUsedInTryStatementThatHasCatchClause */,
|
|
51213
51251
|
node.yieldKeyword
|
|
51214
51252
|
);
|
|
51215
51253
|
} else if (tryStatementContext === 1 /* InFinallyBlock */) {
|
|
51216
|
-
this.createAndAddDiagnostic(
|
|
51254
|
+
this.createAndAddDiagnostic(2077 /* YieldStatementCannotBeUsedInFinallyBlock */, node.yieldKeyword);
|
|
51217
51255
|
} else {
|
|
51218
51256
|
this.checkExpressionTypeIsAssignableToTargetType(
|
|
51219
51257
|
node.expression,
|
|
@@ -51225,54 +51263,54 @@ var SourceFileAnalyzer = class {
|
|
|
51225
51263
|
checkPackageMemberBodyPresence(entity, body, diagnosticLocation) {
|
|
51226
51264
|
if (this.isInterfacePackageFile) {
|
|
51227
51265
|
if (body !== void 0) {
|
|
51228
|
-
this.createAndAddDiagnostic(
|
|
51266
|
+
this.createAndAddDiagnostic(2060 /* InterfacePackageMustNotContainImplementation */, diagnosticLocation);
|
|
51229
51267
|
}
|
|
51230
51268
|
} else if (findTag(this.analyzer.originalWellKnownDeclarations.builtIntoPlatform, entity.getTags()) !== void 0) {
|
|
51231
51269
|
if (body !== void 0) {
|
|
51232
51270
|
this.createAndAddDiagnostic(
|
|
51233
|
-
|
|
51271
|
+
2066 /* DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody */,
|
|
51234
51272
|
diagnosticLocation
|
|
51235
51273
|
);
|
|
51236
51274
|
}
|
|
51237
51275
|
} else {
|
|
51238
51276
|
if (body === void 0) {
|
|
51239
|
-
this.createAndAddDiagnostic(
|
|
51277
|
+
this.createAndAddDiagnostic(2062 /* BodyIsMissing */, diagnosticLocation);
|
|
51240
51278
|
}
|
|
51241
51279
|
}
|
|
51242
51280
|
}
|
|
51243
51281
|
checkTypeMemberBodyPresence(entity, body, diagnosticLocation) {
|
|
51244
51282
|
if (this.isInterfacePackageFile) {
|
|
51245
51283
|
if (body !== void 0) {
|
|
51246
|
-
this.createAndAddDiagnostic(
|
|
51284
|
+
this.createAndAddDiagnostic(2060 /* InterfacePackageMustNotContainImplementation */, diagnosticLocation);
|
|
51247
51285
|
}
|
|
51248
51286
|
} else if (findTag(this.analyzer.originalWellKnownDeclarations.builtIntoPlatform, entity.getTags()) !== void 0) {
|
|
51249
51287
|
if (body !== void 0) {
|
|
51250
51288
|
this.createAndAddDiagnostic(
|
|
51251
|
-
|
|
51289
|
+
2066 /* DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody */,
|
|
51252
51290
|
diagnosticLocation
|
|
51253
51291
|
);
|
|
51254
51292
|
}
|
|
51255
51293
|
} else if (TypeMemberEntity.isReducedTypeMember(entity)) {
|
|
51256
51294
|
if (body !== void 0) {
|
|
51257
51295
|
this.createAndAddDiagnostic(
|
|
51258
|
-
|
|
51296
|
+
2067 /* ReducedTypeMembersMustNotHaveBody */,
|
|
51259
51297
|
diagnosticLocation
|
|
51260
51298
|
);
|
|
51261
51299
|
}
|
|
51262
51300
|
} else if (TypeMemberEntity.isStatic(entity)) {
|
|
51263
51301
|
if (body === void 0) {
|
|
51264
|
-
this.createAndAddDiagnostic(
|
|
51302
|
+
this.createAndAddDiagnostic(2062 /* BodyIsMissing */, diagnosticLocation);
|
|
51265
51303
|
}
|
|
51266
51304
|
} else if (entity.markedAbstract()) {
|
|
51267
51305
|
if (body !== void 0) {
|
|
51268
51306
|
this.createAndAddDiagnostic(
|
|
51269
|
-
|
|
51307
|
+
2063 /* AbstractTypeMembersMustNotHaveBody */,
|
|
51270
51308
|
diagnosticLocation
|
|
51271
51309
|
);
|
|
51272
51310
|
}
|
|
51273
51311
|
} else {
|
|
51274
51312
|
if (body === void 0) {
|
|
51275
|
-
this.createAndAddDiagnostic(
|
|
51313
|
+
this.createAndAddDiagnostic(2062 /* BodyIsMissing */, diagnosticLocation);
|
|
51276
51314
|
}
|
|
51277
51315
|
}
|
|
51278
51316
|
}
|
|
@@ -51336,17 +51374,17 @@ var SourceFileAnalyzer = class {
|
|
|
51336
51374
|
if (entity.isSpecial()?.kind === "result") {
|
|
51337
51375
|
const semanticContext = this.analyzer.semanticContext.containing(node);
|
|
51338
51376
|
if (semanticContext.getContainingSubprogram()?.isGenerator() === true) {
|
|
51339
|
-
this.createAndAddDiagnostic(
|
|
51377
|
+
this.createAndAddDiagnostic(2079 /* ResultVariableCannotBeUsedInFunctionsUsingYieldStatement */, node);
|
|
51340
51378
|
}
|
|
51341
51379
|
}
|
|
51342
51380
|
if (entity.subkind === "local") {
|
|
51343
51381
|
if (this.checkLocalVariableUsedBeforeDeclaration(node, entity)) {
|
|
51344
51382
|
this.createAndAddDiagnostic(
|
|
51345
|
-
|
|
51383
|
+
2123 /* VariableIsUsedBeforeItsDeclaration */,
|
|
51346
51384
|
node
|
|
51347
51385
|
);
|
|
51348
51386
|
} else if ((meaning.accessKind === 0 /* Get */ || meaning.accessKind === 2 /* GetSet */) && this.checkLocalVariableIsUsedBeforeBeingAssigned(node, entity)) {
|
|
51349
|
-
this.createAndAddDiagnostic(
|
|
51387
|
+
this.createAndAddDiagnostic(2124 /* VariableMayNotHasBeenAssignedBeforeUsage */, node);
|
|
51350
51388
|
}
|
|
51351
51389
|
}
|
|
51352
51390
|
break;
|
|
@@ -51440,7 +51478,7 @@ var SourceFileAnalyzer = class {
|
|
|
51440
51478
|
if (singleFunction !== void 0) {
|
|
51441
51479
|
const suitableFunctionEntity = singleFunction.getEntity();
|
|
51442
51480
|
if (meaning.kind === "instance-method-access" && this.isReceiverBaseAutoVariableAccess(node.expression) && suitableFunctionEntity.subkind === "method" && TypeMemberEntity.isAbstract(suitableFunctionEntity)) {
|
|
51443
|
-
this.createAndAddDiagnostic(
|
|
51481
|
+
this.createAndAddDiagnostic(2168 /* CannotAccessAbstractMemberOfBaseType */, node.memberName);
|
|
51444
51482
|
}
|
|
51445
51483
|
}
|
|
51446
51484
|
const singleSuitableFunction = meaning.singleSuitableFunction;
|
|
@@ -51471,7 +51509,7 @@ var SourceFileAnalyzer = class {
|
|
|
51471
51509
|
case "instance-field-access": {
|
|
51472
51510
|
const entity = meaning.field.getEntity();
|
|
51473
51511
|
if (this.isReceiverBaseAutoVariableAccess(node.expression) && TypeMemberEntity.isAbstract(entity)) {
|
|
51474
|
-
this.createAndAddDiagnostic(
|
|
51512
|
+
this.createAndAddDiagnostic(2168 /* CannotAccessAbstractMemberOfBaseType */, node.memberName);
|
|
51475
51513
|
}
|
|
51476
51514
|
break;
|
|
51477
51515
|
}
|
|
@@ -51766,7 +51804,7 @@ var SourceFileAnalyzer = class {
|
|
|
51766
51804
|
let result = true;
|
|
51767
51805
|
if (this.analyzer.isExpressionOptionalChainingSyntactically(left)) {
|
|
51768
51806
|
this.createAndAddDiagnostic(
|
|
51769
|
-
|
|
51807
|
+
2106 /* TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator */,
|
|
51770
51808
|
left
|
|
51771
51809
|
);
|
|
51772
51810
|
result = false;
|
|
@@ -51775,7 +51813,7 @@ var SourceFileAnalyzer = class {
|
|
|
51775
51813
|
}
|
|
51776
51814
|
checkGenericSpecializationExpression(node) {
|
|
51777
51815
|
if (!(this.analyzer.isExpressionDenotingType(node.expression) || this.analyzer.isExpressionDenotingFunction(node.expression))) {
|
|
51778
|
-
this.createAndAddDiagnostic(
|
|
51816
|
+
this.createAndAddDiagnostic(2084 /* OnlyGenericTypesAndFunctionsCanBeSpecialized */, node.typeArgumentClause);
|
|
51779
51817
|
}
|
|
51780
51818
|
}
|
|
51781
51819
|
checkTypeArgumentTypesAreAssignableToConstraints(typeParameters, substitutions, outerSubstitutions, diagnosticLocation) {
|
|
@@ -51806,7 +51844,7 @@ var SourceFileAnalyzer = class {
|
|
|
51806
51844
|
type,
|
|
51807
51845
|
substitutedConstraint,
|
|
51808
51846
|
typeArgumentsNodes?.[i] ?? diagnosticLocation,
|
|
51809
|
-
|
|
51847
|
+
2087 /* Type0IsNotAssignableToConstraint1 */
|
|
51810
51848
|
);
|
|
51811
51849
|
}
|
|
51812
51850
|
}
|
|
@@ -51818,7 +51856,7 @@ var SourceFileAnalyzer = class {
|
|
|
51818
51856
|
const firstParameter = parameters[0];
|
|
51819
51857
|
const firstParameterEntity = this.analyzer.entity.ofParameterDeclaration(firstParameter);
|
|
51820
51858
|
if (firstParameterEntity.isObjectParameter() && !this.parameterListCanDeclareObjectParameter(node)) {
|
|
51821
|
-
this.createAndAddDiagnostic(
|
|
51859
|
+
this.createAndAddDiagnostic(2227 /* ObjectParameterCannotBeDeclaredHere */, firstParameter.name);
|
|
51822
51860
|
}
|
|
51823
51861
|
this.checkObjectParameterIsTheFirstParameter(parameters);
|
|
51824
51862
|
}
|
|
@@ -51829,7 +51867,7 @@ var SourceFileAnalyzer = class {
|
|
|
51829
51867
|
if (parameter.defaultValue !== void 0) {
|
|
51830
51868
|
seenOptionalParameter = true;
|
|
51831
51869
|
} else if (seenOptionalParameter) {
|
|
51832
|
-
this.createAndAddDiagnostic(
|
|
51870
|
+
this.createAndAddDiagnostic(2187 /* RequiredParametersCannotFollowOptionalParameters */, parameter.name);
|
|
51833
51871
|
break;
|
|
51834
51872
|
}
|
|
51835
51873
|
}
|
|
@@ -51872,7 +51910,7 @@ var SourceFileAnalyzer = class {
|
|
|
51872
51910
|
for (let i = 1; i < parameters.length; i++) {
|
|
51873
51911
|
const parameterDeclaration2 = parameters[i];
|
|
51874
51912
|
if ((parameterDeclaration2.name.flags & 2048 /* ObjectParameterName */) !== 0) {
|
|
51875
|
-
this.createAndAddDiagnostic(
|
|
51913
|
+
this.createAndAddDiagnostic(2226 /* ObjectParameterMustBeTheFirstParameter */, parameterDeclaration2.name);
|
|
51876
51914
|
break;
|
|
51877
51915
|
}
|
|
51878
51916
|
}
|
|
@@ -51882,7 +51920,7 @@ var SourceFileAnalyzer = class {
|
|
|
51882
51920
|
entity.ensureAllDiagnosticsReported?.();
|
|
51883
51921
|
const isFunctionLiteralParameter = node.parent.parent.parent.kind === 62 /* FunctionLiteral */;
|
|
51884
51922
|
if (!isFunctionLiteralParameter && node.typeAnnotation === void 0 && node.defaultValue === void 0) {
|
|
51885
|
-
this.createAndAddDiagnostic(
|
|
51923
|
+
this.createAndAddDiagnostic(2183 /* VariableTypeIsNotSpecified */, node.name);
|
|
51886
51924
|
} else if (node.defaultValue !== void 0 && node.typeAnnotation !== void 0) {
|
|
51887
51925
|
this.checkExpressionTypeIsAssignableToTargetType(
|
|
51888
51926
|
node.defaultValue,
|
|
@@ -51918,7 +51956,7 @@ var SourceFileAnalyzer = class {
|
|
|
51918
51956
|
const usageInfo = this.namedDeclarationsUsageMap.getUsageInfo(entity);
|
|
51919
51957
|
if (usageInfo.usageCount === 0 || !usageInfo.hasGetAccess) {
|
|
51920
51958
|
this.createAndAddDiagnostic(
|
|
51921
|
-
|
|
51959
|
+
2088 /* VariableIsDeclaredButItsValueIsNeverRead */,
|
|
51922
51960
|
diagnosticLocation,
|
|
51923
51961
|
void 0,
|
|
51924
51962
|
3 /* Hint */,
|
|
@@ -51930,7 +51968,7 @@ var SourceFileAnalyzer = class {
|
|
|
51930
51968
|
const usageInfo = this.namedDeclarationsUsageMap.getUsageInfo(entity);
|
|
51931
51969
|
if (usageInfo.usageCount === 0) {
|
|
51932
51970
|
this.createAndAddDiagnostic(
|
|
51933
|
-
|
|
51971
|
+
2089 /* FunctionIsDeclaredButNotUsed */,
|
|
51934
51972
|
diagnosticLocation,
|
|
51935
51973
|
void 0,
|
|
51936
51974
|
3 /* Hint */,
|
|
@@ -51942,7 +51980,7 @@ var SourceFileAnalyzer = class {
|
|
|
51942
51980
|
const usageInfo = this.namedDeclarationsUsageMap.getUsageInfo(entity);
|
|
51943
51981
|
if (usageInfo.usageCount === 0) {
|
|
51944
51982
|
this.createAndAddDiagnostic(
|
|
51945
|
-
|
|
51983
|
+
2090 /* TypeParameterIsDeclaredButNotUsed */,
|
|
51946
51984
|
diagnosticLocation,
|
|
51947
51985
|
void 0,
|
|
51948
51986
|
3 /* Hint */,
|
|
@@ -51970,7 +52008,7 @@ var SourceFileAnalyzer = class {
|
|
|
51970
52008
|
}
|
|
51971
52009
|
if (shouldReportError) {
|
|
51972
52010
|
this.createAndAddDiagnostic(
|
|
51973
|
-
|
|
52011
|
+
2125 /* NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned */,
|
|
51974
52012
|
diagnosticLocation
|
|
51975
52013
|
);
|
|
51976
52014
|
}
|
|
@@ -51980,7 +52018,7 @@ var SourceFileAnalyzer = class {
|
|
|
51980
52018
|
let reportedSomeDiagnostics = false;
|
|
51981
52019
|
if (entity.isOverride() && overriddenAndShadowedMembers.overriddenMembers.length === 0) {
|
|
51982
52020
|
this.createAndAddDiagnostic(
|
|
51983
|
-
|
|
52021
|
+
2100 /* CorrespondingBasicTypeMemberNotFound */,
|
|
51984
52022
|
diagnosticLocation
|
|
51985
52023
|
);
|
|
51986
52024
|
reportedSomeDiagnostics ||= true;
|
|
@@ -51995,7 +52033,7 @@ var SourceFileAnalyzer = class {
|
|
|
51995
52033
|
switch (shadowedMember.shadowReason) {
|
|
51996
52034
|
case 0 /* BaseMemberHasDifferentKind */: {
|
|
51997
52035
|
this.createAndAddDiagnostic(
|
|
51998
|
-
|
|
52036
|
+
2152 /* DeclarationConflictsWithBaseTypeMember0 */,
|
|
51999
52037
|
diagnosticLocation,
|
|
52000
52038
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(shadowedMember.value)]
|
|
52001
52039
|
);
|
|
@@ -52004,13 +52042,13 @@ var SourceFileAnalyzer = class {
|
|
|
52004
52042
|
case 1 /* BaseMemberCannotBeOverridden */: {
|
|
52005
52043
|
if (entity.isOverride()) {
|
|
52006
52044
|
this.createAndAddDiagnostic(
|
|
52007
|
-
|
|
52045
|
+
2154 /* DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden */,
|
|
52008
52046
|
diagnosticLocation,
|
|
52009
52047
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(shadowedMember.value)]
|
|
52010
52048
|
);
|
|
52011
52049
|
} else {
|
|
52012
52050
|
this.createAndAddDiagnostic(
|
|
52013
|
-
|
|
52051
|
+
2152 /* DeclarationConflictsWithBaseTypeMember0 */,
|
|
52014
52052
|
diagnosticLocation,
|
|
52015
52053
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(shadowedMember.value)]
|
|
52016
52054
|
);
|
|
@@ -52019,14 +52057,14 @@ var SourceFileAnalyzer = class {
|
|
|
52019
52057
|
}
|
|
52020
52058
|
case 2 /* NoOverrideModifier */: {
|
|
52021
52059
|
this.createAndAddDiagnostic(
|
|
52022
|
-
|
|
52060
|
+
2153 /* DeclarationConflictsWithBaseTypeMember0AddOverrideModifier */,
|
|
52023
52061
|
diagnosticLocation,
|
|
52024
52062
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(shadowedMember.value)]
|
|
52025
52063
|
);
|
|
52026
52064
|
break;
|
|
52027
52065
|
}
|
|
52028
52066
|
case 4 /* TypeOrReturnTypeMismatch */: {
|
|
52029
|
-
const diagnosticCode = entity.kind === 0 /* Variable */ ?
|
|
52067
|
+
const diagnosticCode = entity.kind === 0 /* Variable */ ? 2155 /* DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 */ : 2156 /* DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 */;
|
|
52030
52068
|
const type = this.analyzer.overriddenMember.getMemberTypeOrReturnType(shadowedMember.value);
|
|
52031
52069
|
this.createAndAddDiagnostic(
|
|
52032
52070
|
diagnosticCode,
|
|
@@ -52040,7 +52078,7 @@ var SourceFileAnalyzer = class {
|
|
|
52040
52078
|
}
|
|
52041
52079
|
case 3 /* NoOverrideModifierAndTypeOrReturnTypeMismatch */:
|
|
52042
52080
|
this.createAndAddDiagnostic(
|
|
52043
|
-
|
|
52081
|
+
2152 /* DeclarationConflictsWithBaseTypeMember0 */,
|
|
52044
52082
|
diagnosticLocation,
|
|
52045
52083
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(shadowedMember.value)]
|
|
52046
52084
|
);
|
|
@@ -52056,14 +52094,14 @@ var SourceFileAnalyzer = class {
|
|
|
52056
52094
|
const overriddenMemberEntity = overriddenMember.getEntity();
|
|
52057
52095
|
if (!this.overridingMemberHasCorrectHiding(entity.isHidden(), overriddenMemberEntity.isHidden())) {
|
|
52058
52096
|
this.createAndAddDiagnostic(
|
|
52059
|
-
|
|
52097
|
+
2157 /* OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 */,
|
|
52060
52098
|
diagnosticLocation,
|
|
52061
52099
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(overriddenMember)]
|
|
52062
52100
|
);
|
|
52063
52101
|
reportedSomeDiagnostics ||= true;
|
|
52064
52102
|
} else if (entity.kind === 1 /* Function */ && overriddenMemberEntity.kind === 1 /* Function */) {
|
|
52065
52103
|
if (entity.isAsync() !== overriddenMemberEntity.isAsync()) {
|
|
52066
|
-
const code = overriddenMemberEntity.isAsync() ?
|
|
52104
|
+
const code = overriddenMemberEntity.isAsync() ? 2158 /* OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync */ : 2159 /* OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync */;
|
|
52067
52105
|
this.createAndAddDiagnostic(
|
|
52068
52106
|
code,
|
|
52069
52107
|
diagnosticLocation,
|
|
@@ -52076,7 +52114,7 @@ var SourceFileAnalyzer = class {
|
|
|
52076
52114
|
const overridingFieldIsNotConstOrHasSetter = isComputedVariableEntity(entity) ? entity.getSetter() !== void 0 : !entity.isConstant();
|
|
52077
52115
|
if (overriddenFieldIsNotConstOrHasSetter && !overridingFieldIsNotConstOrHasSetter) {
|
|
52078
52116
|
this.createAndAddDiagnostic(
|
|
52079
|
-
|
|
52117
|
+
2160 /* OverridingFieldMustMustBeMutableToMatchBaseField0 */,
|
|
52080
52118
|
diagnosticLocation,
|
|
52081
52119
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(overriddenMember)]
|
|
52082
52120
|
);
|
|
@@ -52085,7 +52123,7 @@ var SourceFileAnalyzer = class {
|
|
|
52085
52123
|
} else if (entity.kind === 5 /* Indexer */ && overriddenMemberEntity.kind === 5 /* Indexer */) {
|
|
52086
52124
|
if (overriddenMemberEntity.getSetter() !== void 0 && entity.getSetter() === void 0) {
|
|
52087
52125
|
this.createAndAddDiagnostic(
|
|
52088
|
-
|
|
52126
|
+
2161 /* OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 */,
|
|
52089
52127
|
diagnosticLocation,
|
|
52090
52128
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(overriddenMember)]
|
|
52091
52129
|
);
|
|
@@ -52094,7 +52132,7 @@ var SourceFileAnalyzer = class {
|
|
|
52094
52132
|
} else if (entity.kind === 6 /* DereferenceOperator */ && overriddenMemberEntity.kind === 6 /* DereferenceOperator */) {
|
|
52095
52133
|
if (overriddenMemberEntity.getSetter() !== void 0 && entity.getSetter() === void 0) {
|
|
52096
52134
|
this.createAndAddDiagnostic(
|
|
52097
|
-
|
|
52135
|
+
2161 /* OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 */,
|
|
52098
52136
|
diagnosticLocation,
|
|
52099
52137
|
[this.diagnosticArgumentFactory.createDisplayableTypeMember(overriddenMember)]
|
|
52100
52138
|
);
|
|
@@ -52128,7 +52166,7 @@ var SourceFileAnalyzer = class {
|
|
|
52128
52166
|
const textTranslation = primaryPkg.entity.getMembers().getTextTranslationsByTextKey(textKey);
|
|
52129
52167
|
if (textTranslation.length === 0) {
|
|
52130
52168
|
this.createAndAddDiagnostic(
|
|
52131
|
-
|
|
52169
|
+
2189 /* TextIsMissingAmongPrimaryTextTranslationDefinitions */,
|
|
52132
52170
|
sourceText,
|
|
52133
52171
|
void 0,
|
|
52134
52172
|
1 /* Warning */
|
|
@@ -54382,12 +54420,12 @@ var PackageReducedTypeDeclarationEntity = class {
|
|
|
54382
54420
|
case 0 /* Class */: {
|
|
54383
54421
|
if (declaredBaseObjectType !== void 0) {
|
|
54384
54422
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54385
|
-
|
|
54423
|
+
2127 /* TypeCannotHaveMultipleBaseObjectTypes */,
|
|
54386
54424
|
baseTypeSpecifier
|
|
54387
54425
|
));
|
|
54388
54426
|
} else if (reductionSourceBaseObjectType === void 0 || !baseType.equals(reductionSourceBaseObjectType)) {
|
|
54389
54427
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54390
|
-
|
|
54428
|
+
2214 /* OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified */,
|
|
54391
54429
|
baseTypeSpecifier
|
|
54392
54430
|
));
|
|
54393
54431
|
} else {
|
|
@@ -54398,12 +54436,12 @@ var PackageReducedTypeDeclarationEntity = class {
|
|
|
54398
54436
|
case 2 /* Aspect */: {
|
|
54399
54437
|
if (declaredBaseAspectTypes.some((t) => unaliasType(t).equals(unaliasedBaseType))) {
|
|
54400
54438
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54401
|
-
|
|
54439
|
+
2130 /* ThisTypeIsAlreadyListedInBaseTypeList */,
|
|
54402
54440
|
baseTypeSpecifier
|
|
54403
54441
|
));
|
|
54404
54442
|
} else if (reductionSourceBaseAspectTypes === void 0 || !reductionSourceBaseAspectTypes.some((t) => t.equals(baseType))) {
|
|
54405
54443
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54406
|
-
|
|
54444
|
+
2214 /* OnlyTypesPresentInBaseTypeListOrReductionSourceCanBeSpecified */,
|
|
54407
54445
|
baseTypeSpecifier
|
|
54408
54446
|
));
|
|
54409
54447
|
} else {
|
|
@@ -54413,7 +54451,7 @@ var PackageReducedTypeDeclarationEntity = class {
|
|
|
54413
54451
|
}
|
|
54414
54452
|
case 1 /* Structure */: {
|
|
54415
54453
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54416
|
-
|
|
54454
|
+
2131 /* OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes */,
|
|
54417
54455
|
baseTypeSpecifier
|
|
54418
54456
|
));
|
|
54419
54457
|
break;
|
|
@@ -54423,7 +54461,7 @@ var PackageReducedTypeDeclarationEntity = class {
|
|
|
54423
54461
|
}
|
|
54424
54462
|
} else {
|
|
54425
54463
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54426
|
-
|
|
54464
|
+
2131 /* OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes */,
|
|
54427
54465
|
baseTypeSpecifier
|
|
54428
54466
|
));
|
|
54429
54467
|
}
|
|
@@ -54856,22 +54894,22 @@ var SourceStructuredTypeDeclarationData = class {
|
|
|
54856
54894
|
if (unaliasedBaseType.getStructuredTypeKind() === 0 /* Class */) {
|
|
54857
54895
|
if (declaredBaseObjectType !== void 0) {
|
|
54858
54896
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54859
|
-
|
|
54897
|
+
2127 /* TypeCannotHaveMultipleBaseObjectTypes */,
|
|
54860
54898
|
baseTypeSpecifier
|
|
54861
54899
|
));
|
|
54862
54900
|
} else if (this.entity.getStructuredTypeKind() === 1 /* Structure */) {
|
|
54863
54901
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54864
|
-
|
|
54902
|
+
2132 /* StructureCanHaveOnlyAspectsAsBaseTypes */,
|
|
54865
54903
|
baseTypeSpecifier
|
|
54866
54904
|
));
|
|
54867
54905
|
} else if (this.entity.getStructuredTypeKind() === 2 /* Aspect */) {
|
|
54868
54906
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54869
|
-
|
|
54907
|
+
2133 /* AspectTypeCanHaveOnlyAspectsAsBaseTypes */,
|
|
54870
54908
|
baseTypeSpecifier
|
|
54871
54909
|
));
|
|
54872
54910
|
} else if (!unaliasedBaseType.markedBasic() && !unaliasedBaseType.isAbstract()) {
|
|
54873
54911
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54874
|
-
|
|
54912
|
+
2128 /* TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType */,
|
|
54875
54913
|
baseTypeSpecifier
|
|
54876
54914
|
));
|
|
54877
54915
|
} else {
|
|
@@ -54879,13 +54917,13 @@ var SourceStructuredTypeDeclarationData = class {
|
|
|
54879
54917
|
}
|
|
54880
54918
|
} else if (unaliasedBaseType.getStructuredTypeKind() === 1 /* Structure */) {
|
|
54881
54919
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54882
|
-
|
|
54920
|
+
2129 /* StructureCannotBeUsedAsBaseType */,
|
|
54883
54921
|
baseTypeSpecifier
|
|
54884
54922
|
));
|
|
54885
54923
|
} else if (unaliasedBaseType.getStructuredTypeKind() === 2 /* Aspect */) {
|
|
54886
54924
|
if (declaredBaseAspectTypes.some((t) => unaliasType(t).equals(unaliasedBaseType))) {
|
|
54887
54925
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54888
|
-
|
|
54926
|
+
2130 /* ThisTypeIsAlreadyListedInBaseTypeList */,
|
|
54889
54927
|
baseTypeSpecifier
|
|
54890
54928
|
));
|
|
54891
54929
|
} else {
|
|
@@ -54894,7 +54932,7 @@ var SourceStructuredTypeDeclarationData = class {
|
|
|
54894
54932
|
}
|
|
54895
54933
|
} else {
|
|
54896
54934
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
54897
|
-
|
|
54935
|
+
2131 /* OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes */,
|
|
54898
54936
|
baseTypeSpecifier
|
|
54899
54937
|
));
|
|
54900
54938
|
}
|
|
@@ -55438,7 +55476,7 @@ var PackageVariableDeclarationEntity = class {
|
|
|
55438
55476
|
const inferrer = this.typeInferrer.getCachedValue();
|
|
55439
55477
|
if (inferrer?.hasDetectedInferenceCycle === true) {
|
|
55440
55478
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
55441
|
-
|
|
55479
|
+
2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */,
|
|
55442
55480
|
this.node.name
|
|
55443
55481
|
));
|
|
55444
55482
|
}
|
|
@@ -55675,7 +55713,7 @@ var FieldDeclarationEntity = class {
|
|
|
55675
55713
|
const inferrer = this.typeInferrer.getCachedValue();
|
|
55676
55714
|
if (inferrer?.hasDetectedInferenceCycle === true) {
|
|
55677
55715
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
55678
|
-
|
|
55716
|
+
2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */,
|
|
55679
55717
|
this.node.name
|
|
55680
55718
|
));
|
|
55681
55719
|
}
|
|
@@ -55999,7 +56037,7 @@ var LocalVariableDeclarationEntity = class {
|
|
|
55999
56037
|
const inferrer = this.typeInferrer.getCachedValue();
|
|
56000
56038
|
if (inferrer?.hasDetectedInferenceCycle === true) {
|
|
56001
56039
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
56002
|
-
|
|
56040
|
+
2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */,
|
|
56003
56041
|
this.node.name
|
|
56004
56042
|
));
|
|
56005
56043
|
}
|
|
@@ -56076,7 +56114,7 @@ var ForStatementElementVariableDeclarationEntity = class {
|
|
|
56076
56114
|
const inferrer = this.typeInferrer.getCachedValue();
|
|
56077
56115
|
if (inferrer?.hasDetectedInferenceCycle === true) {
|
|
56078
56116
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
56079
|
-
|
|
56117
|
+
2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */,
|
|
56080
56118
|
this.node.name
|
|
56081
56119
|
));
|
|
56082
56120
|
}
|
|
@@ -56307,7 +56345,7 @@ var ParameterDeclarationEntity = class {
|
|
|
56307
56345
|
const inferrer = this.typeInferrer.getCachedValue();
|
|
56308
56346
|
if (inferrer?.hasDetectedInferenceCycle === true) {
|
|
56309
56347
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
56310
|
-
|
|
56348
|
+
2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */,
|
|
56311
56349
|
this.node.name
|
|
56312
56350
|
));
|
|
56313
56351
|
}
|
|
@@ -56418,7 +56456,7 @@ var IndexParameterDeclarationEntity = class {
|
|
|
56418
56456
|
const inferrer = this.typeInferrer.getCachedValue();
|
|
56419
56457
|
if (inferrer?.hasDetectedInferenceCycle === true) {
|
|
56420
56458
|
diagnostics.addDiagnostic(this.analyzer.createDiagnostic(
|
|
56421
|
-
|
|
56459
|
+
2109 /* RecursionOccurredWhileInferringTheTypeOfTheVariable */,
|
|
56422
56460
|
this.getterOrSetterParameterDeclaration.name
|
|
56423
56461
|
));
|
|
56424
56462
|
}
|