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
Items 1/2/5/7 are completion-safe and shipped here:
- item 1: suppress the synthesized delegate Invoke value over the `delegate of ...` RHS
- item 2: classify CE builders inside list/array comprehensions as ComputationExpression
- item 5: don't paint slice brackets as Method; fix open-ended slice upper-bound range
- item 7: `open type T` is not unused when its static members/fields or DU cases are used
Items 3/4/6 (generic `<...>` argument colorization) are deferred: narrowing the
shared name-resolution range to fix colorization breaks find-all-references,
completion and parameter-info, because the resolution sink matches symbol uses by
exact range end. The correct fix requires separating classification ranges from
symbol-use ranges in the sink. Guard tests assert the IDE features still work.
Co-authored-by: Copilot <[email protected]>
Copy file name to clipboardExpand all lines: docs/release-notes/.FSharp.Compiler.Service/11.0.100.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
### Fixed
2
2
3
+
* Fix several F# editor semantic-classification errors: F# delegate declarations no longer highlight the `delegate of …` syntax as a method, computation-expression builders inside list/array comprehensions are classified as `ComputationExpression`, the closing `]` of an open-ended slice (e.g. `xs[0..]`) is no longer classified as `Function`/`Method`, and `open type T` is no longer reported as unused when its imported members (static members, static fields, or DU union cases) are used. ([Issue #19905](https://github.com/dotnet/fsharp/issues/19905), [PR #19960](https://github.com/dotnet/fsharp/pull/19960))
3
4
* Tooltip "Full name" now shows demangled companion module names (e.g. `MyType.func` instead of `MyTypeModule.func`). ([Issue #17335](https://github.com/dotnet/fsharp/issues/17335), [PR #19867](https://github.com/dotnet/fsharp/pull/19867))
4
5
* Fix internal error (FS0193) when calling an indexed property setter with a named argument that matches an indexer parameter. ([Issue #16034](https://github.com/dotnet/fsharp/issues/16034), [PR #19851](https://github.com/dotnet/fsharp/pull/19851))
5
6
* Fix missing FS1182 ("unused binding") warning for unused `let` function bindings inside class types. ([Issue #13849](https://github.com/dotnet/fsharp/issues/13849), [PR #19805](https://github.com/dotnet/fsharp/pull/19805))
0 commit comments