fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
This is not the released version, but a vsix built from latest main installed into latest VS 17.12.0 Preview 1.0.  The first commit that breaks this for me is:...
Similar to https://github.com/dotnet/fsharp/issues/15696 but for second type qualifier. **Repro steps** ```fsharp module Say = type Person = { Id: int64 Info: PersonInfo } and PersonInfo = { FirstName: string LastName:...
When compiled with F# 9.0 this code produces a runtime error: ```` open System let printTypeConstraintsNative () = printf $"Hello: {typeof let initFinite = Seq.init 3 func printfn "%A" initFinite...
This type alias: ``` type T = {| Id: Guid |} [] ``` leads to error: `Unexpected symbol '[' in member definition` Replacing `[]` with another generic type (`seq`, `list`,...
**Repro steps** We noticed one of our F# tests over in dotnet/runtime got slow enough to time out when we updated to a preview 7 SDK (issue: https://github.com/dotnet/runtime/issues/106603) 1. Download...
Implements https://github.com/dotnet/fsharp/issues/16800 Follows https://github.com/dotnet/runtime/blob/main/docs/design/features/byreflike-generics.md Builds upon: https://github.com/fsharp/fslang-design/blob/main/FSharp-4.5/FS-1053-span.md Deserves a (small) RFC update: https://github.com/fsharp/fslang-design/pull/787
Consider having file with module and a bunch of nested modules and bindings in all of them, it will fail with SO. Declaring module as `rec` will fix it. It...
## Description Implements fsharp/fslang-suggestions#966, #18489 RFC [FS-1149-support-CallerArgumentExpression.md](https://github.com/fsharp/fslang-design/blob/main/RFCs/FS-1149-support-CallerArgumentExpression.md), [FS-1332-assert-keyword-enhancement.md](https://github.com/fsharp/fslang-design/blob/main/RFCs/FS-1332-assert-keyword-enhancement.md)  ## Checklist - [x] Test cases added - [ ] Performance benchmarks added in case of performance changes - [x] Release...
## Description This fixes #16979 with some additions that have been discussed in various chats/twitter threads. I've combined them for discussion purposes, we can split them up as desired. The...
This is an automatically generated pull request from main into lsp. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯...