fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
The available options dropdown in VS 2022 and VS 2022 Preview lists them in relation to C#, and shows too many of them:  ### Repro steps 1. Open any...
## Description Using user-defined types with ranges (that is, the `.. ..` operator as in `for x in y .. step .. z do` and the like) are required to...
[View Complete Diff of Changes](https://github.com/dotnet/fsharp/compare/45ecd2615ddfa6c7bd8e8233b8779f813bb506da...e2dad6af0f5a33cfbe6921a16224a9941197930d?w=1) - [Computed collections: optimize simple mappings with preludes (17067)](https://github.com/dotnet/fsharp/pull/17067) - [Re-enable realsig (17104)](https://github.com/dotnet/fsharp/pull/17104) - [LSP design proposal (16493)](https://github.com/dotnet/fsharp/pull/16493) - [Implicit yield performance fix (17096)](https://github.com/dotnet/fsharp/pull/17096) -...
## Description I saw some of these show up when I did a quick profile of FSharp.Compiler.ComponentTests, which take the longest to run of all the tests. - Override `ToString`...
Active pattern after the `&` [used to be allowed](https://sharplab.io/#v2:DYLgZgzgPg9gDgUwHYAIDKBPCAXBBbAWAChjgFsUAKAfRRBQQA9UAyFAMQEMBLYAVwBOCFLSgiAlCgC8DZlXHFiTAMYI42bjFQBZDAFFmiomQo06s1il0HUY6pJlNUlcUA==): ```fsharp let (_ : exn & Failure _ | _) = exn () ``` Same applies for a match on an...
## Current status It seems that symbols for operators are sometimes picked up for document highlight and inline rename, but it's inconsistent. Given the following code in a .NET Core...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/F-region-not-working/10312826)._ --- [severity:It's more difficult to complete my work] Coming from C#, "#region" help A LOT for lessening cognitive overload....
## Description As noted in #17040: > In a followup PR, I may consolidate the copied "realsig±" test source files using a technique similar to that used in #16795. The...
We used `node` CE, a customized `async` CE variant to ensure `DiagnosticsThreadStatics` flow from thread to thread along with the execution of asynchronous compiler tasks. `AsyncLocal
This is an automatically generated pull request from main into release/dev17.11. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯...