fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
See also #17619, but this issue applies to all types. **Repro steps** ```fsharp type T = static member A = 99 [] module M = type T with static member...
## Description Fixes #17619. - Consider `open type` used when the type is an enum and any of the enum cases is used unqualified. ## Checklist - [x] Test cases...
## Description Improve error reporting for Binding checking code bindings including let bindings, let-rec bindings, member bindings and object-expression bindings Fixes # (issue, if applicable) ## Checklist - [x] Test...
This is an automatically generated pull request from release/dev17.8 into release/dev17.9. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯...
- Overriding .ToString on an F# type will warn if it returns nullable string - Calling .ToString on F# types with generated ToString (powered by sprintfn %A under the hood)...
This is an automatically generated pull request from main into release/dev17.12. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯...
**Repro steps** ```fsharp // Shows as unused; the unused opens analyzer will suggest removing it. open type System.DayOfWeek // …Even though it's used. let monday = Monday ``` **Expected behavior**...
I believe this fixes: https://github.com/dotnet/fsharp/issues/17607 But it introduces another bug that needs fixing.
This is causing #2184 - I don't think the Roslyn EE is doing anything wrong here. ```f# module internal InternalModule = type DebugProxy() = member __.PublicMethod() = 15 member __.CustomGetter...
## Description This is a draft PR (WiP) for a [scoped #nowarn](https://github.com/fsharp/fslang-suggestions/issues/278). ## Checklist - [X] implementation for impl files - [X] draft [RFC](https://github.com/fsharp/fslang-design/pull/782) - [X] implementation for sig files...