diff --git a/CoordinateXlif.targets b/CoordinateXlif.targets deleted file mode 100644 index ea1ed17aaa2..00000000000 --- a/CoordinateXlif.targets +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/CoordinateXliff.targets b/CoordinateXliff.targets new file mode 100644 index 00000000000..593eb8ce383 --- /dev/null +++ b/CoordinateXliff.targets @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Directory.Build.targets b/Directory.Build.targets index 4bfa16bf36f..5952e0ed670 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,7 +1,7 @@ - + diff --git a/src/Compiler/Driver/CompilerDiagnostics.fs b/src/Compiler/Driver/CompilerDiagnostics.fs index 9db4d1acf2f..6c3868a3081 100644 --- a/src/Compiler/Driver/CompilerDiagnostics.fs +++ b/src/Compiler/Driver/CompilerDiagnostics.fs @@ -395,6 +395,7 @@ type PhasedDiagnostic with | 3390 -> false // xmlDocBadlyFormed - off by default | 3395 -> false // tcImplicitConversionUsedForMethodArg - off by default | 3559 -> false // typrelNeverRefinedAwayFromTop - off by default + | 3560 -> false // tcCopyAndUpdateRecordChangesAllFields - off by default | 3579 -> false // alwaysUseTypedStringInterpolation - off by default | 3582 -> false // infoIfFunctionShadowsUnionCase - off by default | 3570 -> false // tcAmbiguousDiscardDotLambda - off by default diff --git a/tests/FSharp.Compiler.ComponentTests/Diagnostics/Records.fs b/tests/FSharp.Compiler.ComponentTests/Diagnostics/Records.fs index 70dcd710e34..ff741d40ea6 100644 --- a/tests/FSharp.Compiler.ComponentTests/Diagnostics/Records.fs +++ b/tests/FSharp.Compiler.ComponentTests/Diagnostics/Records.fs @@ -17,6 +17,7 @@ let updateOk r = { r with F1 = 1 } let updateWarn r = { r with F1 = 1; F2 = "" } """ |> withLangVersion80 + |> withOptions ["--warnon:FS3560"] |> typecheck |> shouldFail |> withDiagnostics [ @@ -46,7 +47,6 @@ type R = { F1: int; F2: string } let updateWarn r = { r with F1 = 1; F2 = "" } """ |> withLangVersion80 - |> withOptions ["--nowarn:3560"] |> typecheck |> shouldSucceed @@ -86,6 +86,7 @@ let t2 (x: RecTy) (a: AnotherNestedRecTy) = { x with D.C.c = { a with A = 3 } } let t3 (x: RecTy) (a: AnotherNestedRecTy) = { x with D.C.c = { a with A = 3; B = 4 } } """ |> withLangVersion80 + |> withOptions ["--warnon:FS3560"] |> typecheck |> shouldFail |> withDiagnostics [