fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
Please provide a succinct description of the issue. **Repro steps** Provide the steps required to reproduce the problem: ``` let inline (!?>)< 'a when 'a : (static member i :...
is this related to the same? this is annoying with match expressions inside task ce... in my case the reason was just the missing `_` in: `| _ -> `...
Please provide a succinct description of the issue. **Repro steps** ``` open System.Runtime.InteropServices type C() = member _.M ([]keyBytes:byte[]) = keyBytes ``` **Expected behavior** The code either passes empty array...
Following https://github.com/dotnet/fsharp/pull/17519, we should see if it is possible for the F# compiler to emit a call to the `System.Diagnostics.Debug.Assert` overload that takes a message defaulting to `CallerArgumentExpression` for all...
**Repro steps** The following compiles in Debug mode but warns in Release mode, with "error FS3511: This state machine is not statically compilable. A resumable code invocation at '(26,8--26,12)' could...
This spans from the discussion of https://github.com/fsharp/fslang-suggestions/issues/538 "Erased type-tagged anonymous union types", which is from 2017 and not seeming to be implemented. I actually like the simpler idea by @voronoipotato...
As I understand it, non-partial active patterns may not have extra parameters: ```f# let inline (|Lt|Gt|Eq|) compareWith x = if x < compareWith then Lt elif x > compareWith then...
The error messages for custom operations in CEs are unclear and sometimes contradictory **Repro steps** Consider these two versions of a file: ```fsharp type ResultBuilder() = member __.Return(x:'T) : Result...
This is related to a gotcha related to the introduction of implicit yields into F#, https://github.com/fsharp/fslang-design/blob/main/FSharp-4.7/FS-1069-implicit-yields.md When yields are implicit, in some cases expressions in computed list expressions can be...
Hey there! I've been working on some F# Analyzers using the [SDK](https://github.com/ionide/FSharp.Analyzers.SDK) project. While running against the Typed AST I've a problem. When trying to get a TAST with a...