fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
When you use a compiler directive, specifically `#nowarn`, inside a module, the message is "Directives inside modules are ignored". This message is incomplete and it takes some experimenting to find...
I expecience OutOfMemoryException when compiling code that pattern matches many cases on a record with many fields that are nested DU (e.g. `int option option` as shown in the repro...
Compiler generates method closure when that's unneeded. **Repro steps** Compile and run code ```fsharp let handler (x: string) (y: int) = System.Console.WriteLine(x, y) let invokeHandler (foo: System.Action) = for parameter...
**Repro steps** ```fsharp let x (enumerator: IEnumerator
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/It-is-possible-to-select-Warn-level-7-fo/10067177)._ --- [severity:It bothers me. A fix would be nice] I have an project for fsharp, it is Microsoft.NET.Sdk with...
## Description New IL reader which uses S.R.M, which is faster and more correct. Continuing on top of Will's(@TIHan) work. ## Checklist - [ ] Performance tests (not CI-based, but...
This changes the default of realSig to be false until https://github.com/dotnet/fsharp/issues/17607 is resolved. Once a fix for https://github.com/dotnet/fsharp/issues/17607 is in place, it can change the default back to true. With...
I meant to open this years ago, but I guess I never did. **Repro steps** ```fsharp type E = A = 1 | B = 2 open type E let...
## Description Fixes # (issue, if applicable) ## Checklist - [x] Test cases added - [ ] Release notes entry updated
Currently codefix is activated for this code: ```fsharp let incAll = List.map (n => n + 1) ``` But not for this code: ```fsharp let getPositives = List.filter (n =>...