You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renumber and-deprecation warning FS3885 → FS3887 after rebase
Upstream main took FS3885 (parsLetBangCannotBeLastInCE) and FS3886
(tcListLiteralWithSingleTupleElement) for unrelated warnings during
the rebase window. Our chkAndKeywordDeprecatedWithFileOrderAuto is
now numbered FS3887. Updates:
- docs (migration, release-notes, design): all FS3885 / 3885 → FS3887.
- docs/release-notes/.FSharp.Compiler.Service/11.0.100.md: move our
entry from "Breaking Changes" (where the rebase merge-3-way landed
it) back to "Added" — opt-in flag with default off is not a breaking
change. Update FS3885 → FS3887 in the entry text.
- tests/file-order-auto-test/deprecation-test/run-all.sh: assertions
and grep patterns updated to FS3887.
- tests/file-order-auto-test/fcs-ide-smoke-test/Program.fs: ErrorNumber
filter and labels updated to 3887.
- tests/file-order-auto-test/oss-sweep/RESULTS.md: reproduction
instructions reference --nowarn:3887.
Build clean, deprecation fixture 3/3, inference 4/4, fsi 2/2,
error-corpus 6/6.
|`fcs-smoke-test/`|`FSharpChecker.ParseAndCheckProject` reorders via OtherOptions. |
81
-
|`fcs-ide-smoke-test/`| Completions, Go-to-Def, Find-References, FS3885 via FCS. |
81
+
|`fcs-ide-smoke-test/`| Completions, Go-to-Def, Find-References, FS3887 via FCS. |
82
82
|`oss-sweep/`| 13 real-world OSS projects under `--file-order-auto+`. **Auto-mode adds zero errors over baseline for every buildable target.** See [`tests/file-order-auto-test/oss-sweep/RESULTS.md`](../tests/file-order-auto-test/oss-sweep/RESULTS.md). |
Copy file name to clipboardExpand all lines: docs/release-notes/.FSharp.Compiler.Service/11.0.100.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,10 +40,10 @@
40
40
41
41
* Added warning FS3884 when a function or delegate value is used as an interpolated string argument. ([PR #19289](https://github.com/dotnet/fsharp/pull/19289))
42
42
* Add `#version;;` directive to F# Interactive to display version and environment information. ([Issue #13307](https://github.com/dotnet/fsharp/issues/13307), [PR #19332](https://github.com/dotnet/fsharp/pull/19332))
43
+
* Add opt-in `--file-order-auto+` flag (and `<FSharpAutoFileOrder>` MSBuild property) for dependency-based source-file ordering. Off by default; when enabled, the compiler reorders project sources by their declaration/reference graph before type checking, supports cycle groups via synthesised recursive namespaces (build path), and emits warning FS3887 for `and`-joined type chains. FCS support included. ([PR #19647](https://github.com/dotnet/fsharp/pull/19647))
43
44
44
45
### Changed
45
46
46
47
* Improvements in error and warning messages: new error FS3885 when `let!`/`use!` is the final expression in a computation expression; new warning FS3886 when a list literal contains a single tuple element (likely missing `;` separator); improved wording for FS0003, FS0025, FS0039, FS0072, FS0247, FS0597, FS0670, FS3082, and SRTP operator-not-in-scope hints. ([PR #19398](https://github.com/dotnet/fsharp/pull/19398))
47
48
48
49
### Breaking Changes
49
-
* Add opt-in `--file-order-auto+` flag (and `<FSharpAutoFileOrder>` MSBuild property) for dependency-based source-file ordering. Off by default; when enabled, the compiler reorders project sources by their declaration/reference graph before type checking, supports cycle groups via synthesised recursive namespaces (build path), and emits warning FS3885 for `and`-joined type chains. FCS support included. ([PR #19647](https://github.com/dotnet/fsharp/pull/19647))
0 commit comments