diff --git a/src/fsharp/FSComp.txt b/src/fsharp/FSComp.txt index e3264b5ef7..7e5044c5b1 100644 --- a/src/fsharp/FSComp.txt +++ b/src/fsharp/FSComp.txt @@ -716,7 +716,7 @@ tcUnnamedArgumentsDoNotFormPrefix,"The unnamed arguments do not form a prefix of 871,tcConstructorsIllegalForThisType,"Constructors cannot be defined for this type" 872,tcRecursiveBindingsWithMembersMustBeDirectAugmentation,"Recursive bindings that include member specifications can only occur as a direct augmentation of a type" 873,tcOnlySimplePatternsInLetRec,"Only simple variable patterns can be bound in 'let rec' constructs" -874,tcOnlyRecordFieldsAndSimpleLetCanBeMutable,"Only record fields and simple, non-recursive 'let' bindings may be marked mutable" +874,tcOnlyRecordFieldsAndSimpleLetCanBeMutable,"Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces" 875,tcMemberIsNotSufficientlyGeneric,"This member is not sufficiently generic" 876,tcLiteralAttributeRequiresConstantValue,"A declaration may only be the [] attribute if a constant value is also given, e.g. 'val x : int = 1'" 877,tcValueInSignatureRequiresLiteralAttribute,"A declaration may only be given a value in a signature if the declaration has the [] attribute" diff --git a/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.targets b/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.targets index de13273e2a..330dc47f8b 100644 --- a/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.targets +++ b/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.targets @@ -95,13 +95,4 @@ WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and - - - - - - - - - diff --git a/src/fsharp/xlf/FSComp.txt.cs.xlf b/src/fsharp/xlf/FSComp.txt.cs.xlf index 85af396cf5..90f4989826 100644 --- a/src/fsharp/xlf/FSComp.txt.cs.xlf +++ b/src/fsharp/xlf/FSComp.txt.cs.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Označení mutable můžou mít jenom pole záznamu a jednoduché, nerekurzivní vazby let. + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.de.xlf b/src/fsharp/xlf/FSComp.txt.de.xlf index ba71a1e94f..d48a861d44 100644 --- a/src/fsharp/xlf/FSComp.txt.de.xlf +++ b/src/fsharp/xlf/FSComp.txt.de.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Nur Datensatzfelder und einfache, nicht rekursive let-Bindungen dürfen als "mutable" markiert werden. + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.es.xlf b/src/fsharp/xlf/FSComp.txt.es.xlf index 6a8d27fdd3..dc1ae8d954 100644 --- a/src/fsharp/xlf/FSComp.txt.es.xlf +++ b/src/fsharp/xlf/FSComp.txt.es.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Solo los campos de registro y los enlaces 'let' sencillos no recursivos se pueden marcar como mutables + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.fr.xlf b/src/fsharp/xlf/FSComp.txt.fr.xlf index cc158d8cf4..62139523bf 100644 --- a/src/fsharp/xlf/FSComp.txt.fr.xlf +++ b/src/fsharp/xlf/FSComp.txt.fr.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Seuls les champs d'enregistrement et les liaisons 'let' simples non récursives peuvent être marqués comme mutables + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.it.xlf b/src/fsharp/xlf/FSComp.txt.it.xlf index 28a352f71a..22957850a8 100644 --- a/src/fsharp/xlf/FSComp.txt.it.xlf +++ b/src/fsharp/xlf/FSComp.txt.it.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Solo i campi di record e i binding 'let' semplici non ricorsivi possono essere contrassegnati come mutable + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.ja.xlf b/src/fsharp/xlf/FSComp.txt.ja.xlf index 53d07ef597..e18b5cb0b3 100644 --- a/src/fsharp/xlf/FSComp.txt.ja.xlf +++ b/src/fsharp/xlf/FSComp.txt.ja.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - 'mutable' とマークできるのはレコード フィールドと単純で非再帰的な 'let' バインディングのみです + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.ko.xlf b/src/fsharp/xlf/FSComp.txt.ko.xlf index cd857ba213..9396b7f96f 100644 --- a/src/fsharp/xlf/FSComp.txt.ko.xlf +++ b/src/fsharp/xlf/FSComp.txt.ko.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - 레코드 필드 및 단순, 비재귀적 'let' 바인딩만 mutable로 표시할 수 있습니다. + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.pl.xlf b/src/fsharp/xlf/FSComp.txt.pl.xlf index 8b9d38f36a..1f11e60464 100644 --- a/src/fsharp/xlf/FSComp.txt.pl.xlf +++ b/src/fsharp/xlf/FSComp.txt.pl.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Tylko pola rekordów i proste, niecykliczne powiązania „let” mogą być oznaczone jako modyfikowalne + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.pt-BR.xlf b/src/fsharp/xlf/FSComp.txt.pt-BR.xlf index 4dd0ec18ee..9ccb6be78c 100644 --- a/src/fsharp/xlf/FSComp.txt.pt-BR.xlf +++ b/src/fsharp/xlf/FSComp.txt.pt-BR.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Apenas campos de registro e associações 'let' simples e não recursivas podem ser marcados como mutáveis + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.ru.xlf b/src/fsharp/xlf/FSComp.txt.ru.xlf index 56b8c542b0..3b6fb2046d 100644 --- a/src/fsharp/xlf/FSComp.txt.ru.xlf +++ b/src/fsharp/xlf/FSComp.txt.ru.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Только поля записей и простые нерекурсивные привязки "let" могут быть помечены как изменяемые + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.tr.xlf b/src/fsharp/xlf/FSComp.txt.tr.xlf index dc434b9351..3da66130e1 100644 --- a/src/fsharp/xlf/FSComp.txt.tr.xlf +++ b/src/fsharp/xlf/FSComp.txt.tr.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - Yalnızca kayıt alanları ve basit, özyinelemeli olmayan 'let' bağlamaları değişebilir olarak işaretlenebilir + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf b/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf index 3dddbf576b..61c7efffc0 100644 --- a/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - 只有记录字段和简单的非递归 "let" 绑定可能会被标记为“可变” + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf b/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf index cff0c65064..9f844fe20d 100644 --- a/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf @@ -3738,8 +3738,8 @@ - Only record fields and simple, non-recursive 'let' bindings may be marked mutable - 只有記錄欄位及簡單的非遞迴 'let' 繫結可以標記為可變動 + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces + Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces diff --git a/tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/StaticLetDoDeclarations/E_RecMutable01.fs b/tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/StaticLetDoDeclarations/E_RecMutable01.fs index 7adf9a2e1d..547b14724c 100644 --- a/tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/StaticLetDoDeclarations/E_RecMutable01.fs +++ b/tests/fsharpqa/Source/Conformance/ObjectOrientedTypeDefinitions/ClassTypes/StaticLetDoDeclarations/E_RecMutable01.fs @@ -2,7 +2,7 @@ // rec (mutable) // See FSHARP1.0:2329 -//Only record fields and simple, non-recursive 'let' bindings may be marked mutable +//Mutable 'let' bindings can't be recursive or defined in recursive modules or namespaces type C() = class static let rec mutable m = 0 // only record fields and simple 'let' bindings may be marked mutable. end