From 8a9fd9b9db15e76a2a21ece876dcf8373b50275e Mon Sep 17 00:00:00 2001 From: Copilot Date: Thu, 1 Oct 2026 15:27:48 +0200 Subject: [PATCH] Remove obsolete qualified access language feature flag Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Compiler/Checking/CheckPatterns.fs | 6 +----- .../Checking/Expressions/CheckExpressions.fs | 12 ++---------- src/Compiler/FSComp.txt | 8 +++++++- src/Compiler/Facilities/LanguageFeatures.fs | 15 ++++++++++++--- src/Compiler/Facilities/LanguageFeatures.fsi | 5 ++++- src/Compiler/xlf/FSComp.txt.cs.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.de.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.es.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.fr.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.it.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.ja.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.ko.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.pl.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.pt-BR.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.ru.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.tr.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.zh-Hans.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.zh-Hant.xlf | 5 ----- 18 files changed, 26 insertions(+), 85 deletions(-) diff --git a/src/Compiler/Checking/CheckPatterns.fs b/src/Compiler/Checking/CheckPatterns.fs index d31610d8354..c488b9f30db 100644 --- a/src/Compiler/Checking/CheckPatterns.fs +++ b/src/Compiler/Checking/CheckPatterns.fs @@ -659,11 +659,7 @@ and ApplyUnionCaseOrExn m (cenv: cenv) env overallTy item = | Item.UnionCase(ucinfo, showDeprecated) -> if showDeprecated then - let diagnostic = Deprecated(FSComp.SR.nrUnionTypeNeedsQualifiedAccess(RichText.mkUnionCase ucinfo.DisplayName, richTextOfEntity ucinfo.Tycon) |> snd, m) - if g.langVersion.SupportsFeature(LanguageFeature.ErrorOnDeprecatedRequireQualifiedAccess) then - errorR(diagnostic) - else - warning(diagnostic) + errorR (Deprecated(FSComp.SR.nrUnionTypeNeedsQualifiedAccess(RichText.mkUnionCase ucinfo.DisplayName, richTextOfEntity ucinfo.Tycon) |> snd, m)) let ucref = ucinfo.UnionCaseRef CheckUnionCaseAttributes g ucref m |> CommitOperationResult diff --git a/src/Compiler/Checking/Expressions/CheckExpressions.fs b/src/Compiler/Checking/Expressions/CheckExpressions.fs index 5191123f5ae..efc0caf5f0f 100644 --- a/src/Compiler/Checking/Expressions/CheckExpressions.fs +++ b/src/Compiler/Checking/Expressions/CheckExpressions.fs @@ -2012,11 +2012,7 @@ let BuildFieldMap (cenv: cenv) env isPartial ty (flds: (Ident * ExplicitOrSpread CheckFSharpAttributes g fref2.PropertyAttribs ident.idRange |> CommitOperationResult if showDeprecated then - let diagnostic = Deprecated(FSComp.SR.nrRecordTypeNeedsQualifiedAccess(RichText.mkRecordField fref2.FieldName, richTextOfEntity fref2.Tycon) |> snd, m) - if g.langVersion.SupportsFeature(LanguageFeature.ErrorOnDeprecatedRequireQualifiedAccess) then - errorR(diagnostic) - else - warning(diagnostic) + errorR (Deprecated(FSComp.SR.nrRecordTypeNeedsQualifiedAccess(RichText.mkRecordField fref2.FieldName, richTextOfEntity fref2.Tycon) |> snd, m)) if not (tyconRefEq g tcref fref2.TyconRef) then let _, frefSet1, _ = List.head fldResolutions @@ -2042,11 +2038,7 @@ let ApplyUnionCaseOrExn (makerForUnionCase, makerForExnTag) m mItemIdent (cenv: | Item.UnionCase(ucinfo, showDeprecated) -> if showDeprecated then - let diagnostic = Deprecated(FSComp.SR.nrUnionTypeNeedsQualifiedAccess(RichText.mkUnionCase ucinfo.DisplayName, richTextOfEntity ucinfo.Tycon) |> snd, mItemIdent) - if g.langVersion.SupportsFeature(LanguageFeature.ErrorOnDeprecatedRequireQualifiedAccess) then - errorR(diagnostic) - else - warning(diagnostic) + errorR (Deprecated(FSComp.SR.nrUnionTypeNeedsQualifiedAccess(RichText.mkUnionCase ucinfo.DisplayName, richTextOfEntity ucinfo.Tycon) |> snd, mItemIdent)) let ucref = ucinfo.UnionCaseRef CheckUnionCaseAttributes g ucref mItemIdent |> CommitOperationResult diff --git a/src/Compiler/FSComp.txt b/src/Compiler/FSComp.txt index 1ebca3aa194..31c5d8f8f52 100644 --- a/src/Compiler/FSComp.txt +++ b/src/Compiler/FSComp.txt @@ -1532,6 +1532,7 @@ csTypeHasNullAsTrueValue,"The type '%s' uses 'null' as a representation value bu csTypeHasNullAsExtraValue,"The type '%s' supports 'null' but a non-null type is expected" 3300,chkInvalidFunctionParameterType,"The parameter '%s' has an invalid type '%s'. This is not permitted by the rules of Common IL." 3301,chkInvalidFunctionReturnType,"The function or method has an invalid return type '%s'. This is not permitted by the rules of Common IL." +3302,packageManagementRequiresVFive,"The 'package management' feature requires language version 5.0 or above" 3303,fromEndSlicingRequiresVFive,"The 'from the end slicing' feature requires language version 'preview'." 3304,poundiNotSupportedByRegisteredDependencyManagers,"#i is not supported by the registered PackageManagers" 3343,tcRequireMergeSourcesOrBindN,"The 'let! ... and! ...' construct may only be used if the computation expression builder defines either a '%s' method or appropriate 'MergeSources' and 'Bind' methods" @@ -1553,18 +1554,21 @@ optsAlwaysInline,"Always inline 'inline' functions" nativeResourceFormatError,"Stream does not begin with a null resource and is not in '.RES' format." nativeResourceHeaderMalformed,"Resource header beginning at offset %s is malformed." formatDashItem," - %s" +featurePackageManagement,"package management" featureFromEndSlicing,"from-end slicing" featureNullnessChecking,"nullness checking" +featureResumableStateMachines,"resumable state machines" featureRuntimeAsync,"runtime async" featureStringInterpolation,"string interpolation" featureWitnessPassing,"witness passing for trait constraints in F# quotations" featureAdditionalImplicitConversions,"additional type-directed conversions" featureReallyLongList,"list literals of any size" -featureErrorOnDeprecatedRequireQualifiedAccess,"give error on deprecated access of construct with RequireQualifiedAccess attribute" +featureSelfTypeConstraints,"self type constraints" featureMatchNotAllowedForUnionCaseWithNoData,"Pattern match discard is not allowed for union case that takes no data." featureCSharpExtensionAttributeNotRequired,"Allow implicit Extension attribute on declaring types, modules" featureErrorForNonVirtualMembersOverrides,"Raises errors for non-virtual members overrides" featureWarningWhenCopyAndUpdateRecordChangesAllFields,"Raises warnings when an copy-and-update record expression changes all fields of a record." +featureNonInlineLiteralsAsPrintfFormat,"String values marked as literals and IL constants as printf format" featureWarningWhenMultipleRecdTypeChoice,"Raises warnings when multiple record type matches were found during name resolution because of overlapping field names." featureConstraintIntersectionOnFlexibleTypes,"Constraint intersection on flexible types" featureChkNotTailRecursive,"Raises warnings if a member or function has the 'TailCall' attribute, but is not being used in a tail recursive way." @@ -1635,6 +1639,8 @@ forFormatInvalidForInterpolated4,"Interpolated strings used as type IFormattable 3501,tcResumableCodeArgMustHaveRightName,"Invalid resumable code. Resumable code parameter must have name beginning with '__expand'" 3501,tcResumableCodeArgMustHaveRightKind,"Invalid resumable code. A resumable code parameter must be of delegate or function type" 3501,tcResumableCodeContainsLetRec,"Invalid resumable code. A 'let rec' occurred in the resumable code specification" +3510,tcResumableCodeNotSupported,"Using resumable code or resumable state machines requires /langversion:preview" +3510,tcNoEagerConstraintApplicationAttribute,"Using methods with 'NoEagerConstraintApplicationAttribute' requires /langversion:6.0 or later" 3511,reprStateMachineNotCompilable,"This state machine is not statically compilable. %s. An alternative dynamic implementation will be used, which may be slower. Consider adjusting your code to ensure this state machine is statically compilable, or else suppress this warning." 3512,reprStateMachineNotCompilableNoAlternative,"This state machine is not statically compilable and no alternative is available. %s. Use an 'if __useResumableCode then else ' to give an alternative." 3513,tcResumableCodeInvocation,"Resumable code invocation. Suppress this warning if you are defining new low-level resumable code in terms of existing resumable code." diff --git a/src/Compiler/Facilities/LanguageFeatures.fs b/src/Compiler/Facilities/LanguageFeatures.fs index de94bed966e..b5679096eab 100644 --- a/src/Compiler/Facilities/LanguageFeatures.fs +++ b/src/Compiler/Facilities/LanguageFeatures.fs @@ -16,7 +16,9 @@ module internal FSharp.Compiler.Features [] type LanguageFeature = + | PackageManagement | FromEndSlicing + | ResumableStateMachines | RuntimeAsync | WitnessPassing | AdditionalTypeDirectedConversions @@ -26,11 +28,12 @@ type LanguageFeature = | UnionIsPropertiesVisible | AttributesToRightOfModuleKeyword | ReallyLongLists - | ErrorOnDeprecatedRequireQualifiedAccess + | SelfTypeConstraints | MatchNotAllowedForUnionCaseWithNoData | CSharpExtensionAttributeNotRequired | ErrorForNonVirtualMembersOverrides | WarningWhenCopyAndUpdateRecordChangesAllFields + | NonInlineLiteralsAsPrintfFormat | WarningWhenMultipleRecdTypeChoice | ConstraintIntersectionOnFlexibleTypes | WarningWhenTailRecAttributeButNonTailRecUsage @@ -120,23 +123,26 @@ type LanguageVersion(versionText, ?disabledFeaturesArray: LanguageFeature array) dict [ // F# 5.0 + LanguageFeature.PackageManagement, languageVersion50 LanguageFeature.WitnessPassing, languageVersion50 LanguageFeature.StringInterpolation, languageVersion50 // F# 6.0 LanguageFeature.AdditionalTypeDirectedConversions, languageVersion60 LanguageFeature.ExpandedMeasurables, languageVersion60 + LanguageFeature.ResumableStateMachines, languageVersion60 LanguageFeature.AttributesToRightOfModuleKeyword, languageVersion60 // F# 7.0 LanguageFeature.ReallyLongLists, languageVersion70 - LanguageFeature.ErrorOnDeprecatedRequireQualifiedAccess, languageVersion70 + LanguageFeature.SelfTypeConstraints, languageVersion70 // F# 8.0 LanguageFeature.MatchNotAllowedForUnionCaseWithNoData, languageVersion80 LanguageFeature.CSharpExtensionAttributeNotRequired, languageVersion80 LanguageFeature.ErrorForNonVirtualMembersOverrides, languageVersion80 LanguageFeature.WarningWhenCopyAndUpdateRecordChangesAllFields, languageVersion80 + LanguageFeature.NonInlineLiteralsAsPrintfFormat, languageVersion80 LanguageFeature.WarningWhenMultipleRecdTypeChoice, languageVersion80 LanguageFeature.WarningWhenTailRecAttributeButNonTailRecUsage, languageVersion80 LanguageFeature.ConstraintIntersectionOnFlexibleTypes, languageVersion80 @@ -290,8 +296,10 @@ type LanguageVersion(versionText, ?disabledFeaturesArray: LanguageFeature array) /// Get a string name for the given feature. static member GetFeatureString feature = match feature with + | LanguageFeature.PackageManagement -> FSComp.SR.featurePackageManagement () | LanguageFeature.FromEndSlicing -> FSComp.SR.featureFromEndSlicing () | LanguageFeature.NullnessChecking -> FSComp.SR.featureNullnessChecking () + | LanguageFeature.ResumableStateMachines -> FSComp.SR.featureResumableStateMachines () | LanguageFeature.RuntimeAsync -> FSComp.SR.featureRuntimeAsync () | LanguageFeature.WitnessPassing -> FSComp.SR.featureWitnessPassing () | LanguageFeature.AdditionalTypeDirectedConversions -> FSComp.SR.featureAdditionalImplicitConversions () @@ -300,12 +308,13 @@ type LanguageVersion(versionText, ?disabledFeaturesArray: LanguageFeature array) | LanguageFeature.UnionIsPropertiesVisible -> FSComp.SR.featureUnionIsPropertiesVisible () | LanguageFeature.AttributesToRightOfModuleKeyword -> FSComp.SR.featureAttributesToRightOfModuleKeyword () | LanguageFeature.ReallyLongLists -> FSComp.SR.featureReallyLongList () - | LanguageFeature.ErrorOnDeprecatedRequireQualifiedAccess -> FSComp.SR.featureErrorOnDeprecatedRequireQualifiedAccess () + | LanguageFeature.SelfTypeConstraints -> FSComp.SR.featureSelfTypeConstraints () | LanguageFeature.MatchNotAllowedForUnionCaseWithNoData -> FSComp.SR.featureMatchNotAllowedForUnionCaseWithNoData () | LanguageFeature.CSharpExtensionAttributeNotRequired -> FSComp.SR.featureCSharpExtensionAttributeNotRequired () | LanguageFeature.ErrorForNonVirtualMembersOverrides -> FSComp.SR.featureErrorForNonVirtualMembersOverrides () | LanguageFeature.WarningWhenCopyAndUpdateRecordChangesAllFields -> FSComp.SR.featureWarningWhenCopyAndUpdateRecordChangesAllFields () + | LanguageFeature.NonInlineLiteralsAsPrintfFormat -> FSComp.SR.featureNonInlineLiteralsAsPrintfFormat () | LanguageFeature.WarningWhenMultipleRecdTypeChoice -> FSComp.SR.featureWarningWhenMultipleRecdTypeChoice () | LanguageFeature.ConstraintIntersectionOnFlexibleTypes -> FSComp.SR.featureConstraintIntersectionOnFlexibleTypes () | LanguageFeature.WarningWhenTailRecAttributeButNonTailRecUsage -> FSComp.SR.featureChkNotTailRecursive () diff --git a/src/Compiler/Facilities/LanguageFeatures.fsi b/src/Compiler/Facilities/LanguageFeatures.fsi index 44963e9f437..91cc274fac8 100644 --- a/src/Compiler/Facilities/LanguageFeatures.fsi +++ b/src/Compiler/Facilities/LanguageFeatures.fsi @@ -6,7 +6,9 @@ module internal FSharp.Compiler.Features /// LanguageFeature enumeration [] type LanguageFeature = + | PackageManagement | FromEndSlicing + | ResumableStateMachines | RuntimeAsync | WitnessPassing | AdditionalTypeDirectedConversions @@ -16,11 +18,12 @@ type LanguageFeature = | UnionIsPropertiesVisible | AttributesToRightOfModuleKeyword | ReallyLongLists - | ErrorOnDeprecatedRequireQualifiedAccess + | SelfTypeConstraints | MatchNotAllowedForUnionCaseWithNoData | CSharpExtensionAttributeNotRequired | ErrorForNonVirtualMembersOverrides | WarningWhenCopyAndUpdateRecordChangesAllFields + | NonInlineLiteralsAsPrintfFormat | WarningWhenMultipleRecdTypeChoice | ConstraintIntersectionOnFlexibleTypes | WarningWhenTailRecAttributeButNonTailRecUsage diff --git a/src/Compiler/xlf/FSComp.txt.cs.xlf b/src/Compiler/xlf/FSComp.txt.cs.xlf index fd71f7477b2..5cf8471ec71 100644 --- a/src/Compiler/xlf/FSComp.txt.cs.xlf +++ b/src/Compiler/xlf/FSComp.txt.cs.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - chyba při zastaralém přístupu konstruktoru s atributem RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.de.xlf b/src/Compiler/xlf/FSComp.txt.de.xlf index 94dd5a853d4..ecf5768f4f8 100644 --- a/src/Compiler/xlf/FSComp.txt.de.xlf +++ b/src/Compiler/xlf/FSComp.txt.de.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - Beim veralteten Zugriff auf das Konstrukt mit dem RequireQualifiedAccess-Attribut wird ein Fehler ausgegeben. - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.es.xlf b/src/Compiler/xlf/FSComp.txt.es.xlf index aa957d50c55..6474ab8070a 100644 --- a/src/Compiler/xlf/FSComp.txt.es.xlf +++ b/src/Compiler/xlf/FSComp.txt.es.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - error en el acceso en desuso de la construcción con el atributo RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.fr.xlf b/src/Compiler/xlf/FSComp.txt.fr.xlf index 7898b748239..7ec8e70ab44 100644 --- a/src/Compiler/xlf/FSComp.txt.fr.xlf +++ b/src/Compiler/xlf/FSComp.txt.fr.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - donner une erreur sur l’accès déconseillé de la construction avec l’attribut RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.it.xlf b/src/Compiler/xlf/FSComp.txt.it.xlf index 93f633805e9..829734d8891 100644 --- a/src/Compiler/xlf/FSComp.txt.it.xlf +++ b/src/Compiler/xlf/FSComp.txt.it.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - errore durante l'accesso deprecato del costrutto con l'attributo RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.ja.xlf b/src/Compiler/xlf/FSComp.txt.ja.xlf index 2407906320e..97691127708 100644 --- a/src/Compiler/xlf/FSComp.txt.ja.xlf +++ b/src/Compiler/xlf/FSComp.txt.ja.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - RequireQualifiedAccess 属性を持つコンストラクトの非推奨アクセスでエラーが発生しました - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.ko.xlf b/src/Compiler/xlf/FSComp.txt.ko.xlf index b35a65b4344..b898210eb69 100644 --- a/src/Compiler/xlf/FSComp.txt.ko.xlf +++ b/src/Compiler/xlf/FSComp.txt.ko.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - RequireQualifiedAccess 특성을 사용하여 사용되지 않는 구문 액세스에 대한 오류 제공 - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.pl.xlf b/src/Compiler/xlf/FSComp.txt.pl.xlf index e7f20c76905..36b3ea9e245 100644 --- a/src/Compiler/xlf/FSComp.txt.pl.xlf +++ b/src/Compiler/xlf/FSComp.txt.pl.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - wskazywanie błędu w przypadku przestarzałego dostępu do konstrukcji z atrybutem RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf index 02972428b5b..5276492ab21 100644 --- a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf +++ b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - fornecer erro no acesso preterido do constructo com o atributo RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.ru.xlf b/src/Compiler/xlf/FSComp.txt.ru.xlf index 161b7677cb7..c439b0aaf6f 100644 --- a/src/Compiler/xlf/FSComp.txt.ru.xlf +++ b/src/Compiler/xlf/FSComp.txt.ru.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - выдать ошибку при устаревшем доступе к конструкции с атрибутом RequireQualifiedAccess - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.tr.xlf b/src/Compiler/xlf/FSComp.txt.tr.xlf index 8ff397ae9dd..816ec4b6852 100644 --- a/src/Compiler/xlf/FSComp.txt.tr.xlf +++ b/src/Compiler/xlf/FSComp.txt.tr.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - RequireQualifiedAccess özniteliğine sahip yapının kullanım dışı erişiminde hata - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf index 85319784922..f406c524d55 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - 对具有 RequireQualifiedAccess 属性的构造进行弃用的访问时出错 - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions. diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf index 0c3906e97d1..579b60e8841 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf @@ -392,11 +392,6 @@ Error when bitwise operators are used on enums whose underlying type is not an integer type (e.g. char). - - give error on deprecated access of construct with RequireQualifiedAccess attribute - 對具有 RequireQualifiedAccess 屬性的建構的已取代存取發出錯誤 - - Error when invalid declarations are used in type definitions. Error when invalid declarations are used in type definitions.