fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
#### Repro ```fs module Thing let error = let f _ _ _ (stateA, resultA) (stateB, resultB) _ = if stateA && stateB then resultA else resultB f () ()...
Attributes are applied to each value defined in bindings. It should not be allowed for `CompiledName` and a service error should be produced. ```fsharp [] let a, b = 1,...
```fsharp let test (ar: {| IntVal: int |}) = printfn "%d" ar.IntVal test struct {| IntVal=12 |} ``` Output: ``` error FS0001: One tuple type is a struct tuple, the...
```fsharp [] type MyStruct>> and [] YourStruct
- Enable the SDK to publish the stable-preview packages - Add a pre-release iteration so that previews can be differentiated. - Remove the version substitution in the shims project. There...
This pull request updates the following dependencies [marker]: (Begin:c88fef6f-3728-44a8-80e6-587fb00258a1) ## From https://github.com/dotnet/msbuild - **Subscription**: [c88fef6f-3728-44a8-80e6-587fb00258a1](https://maestro.dot.net/subscriptions?search=c88fef6f-3728-44a8-80e6-587fb00258a1) - **Build**: [20250618.13](https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=11785292) - **Date Produced**: June 18, 2025 2:47:24 PM UTC - **Commit**: [84918331407471ece9f24b21e98cc6bfc7649690](https://github.com/dotnet/msbuild/commit/84918331407471ece9f24b21e98cc6bfc7649690)...
## Description Specific overloads (float, float32, int, int64) of Seq.sum, ~~Seq.average,~~ Array.sum ~~and Array.average~~ to take advantage of vectorization in System.Linq.Enumerable module. This is potentially a naive first try to...
## Description Allow computation expression (CE) bindings (`let!`, `use!`, `and!`) to accept type annotations without requiring parentheses. Continuation of https://github.com/dotnet/fsharp/pull/18508 Implements RFC FS-1329: https://github.com/fsharp/fslang-design/pull/802 ## Checklist - [x] Test cases...
This PR implements the `textDocument/completion` endpoint for the F# Language Server Protocol (LSP) server, providing intelligent code completions for F# development. ## Implementation Overview ### Core Features - **LSP Completion...
## Description Expand the ambiguous docstring on `SynModuleDecl.Types`. This change is in `src/Compiler`, but I really don't think it merits a release note. Correctness: the only construction of this DU...