fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
The following code is not compiled: ``` [] type Person = { Name: string; Age: int } member x.WithAge age = { x with Age = age } ``` with...
A code attribute using a declared named literal constant demands a parenthesis in order to compile.  I actually have two issues with this. 1) Why does it need parenthesis...
Hello, I believe we may have found a lexer bug. **Repro steps** ```fsharp type Terminal = abstract onKey: IEvent< Foo< Bar * int > > with get, set abstract onKey2:...
According to this https://github.com/dotnet/fsharp/issues/15135 ``` type MyType (t:^T) = member inline this.T = t ``` Looks good in editor (no syntax error), but results ``` error FS1113: The value 'T'...
The contents of `do` in the following code should be parsed as a sequence of let expression and x, but it's parsed as let expression in sequence of the sum...
_Originally from here: https://github.com/fsharp/fsharp/issues/827_ When adding constructors to to an F# class the required syntax changes, e.g. is different for the last constructor (for single parameter `.ctor`s). #### Repro steps...
These forms compile: ```fsharp type Foo = private { Bar: int; Baz: int } type Foo = private { Bar: int Baz: int } // Anything where `private {` is...
Branch [release/dev17.12](https://github.com/dotnet/fsharp/commits/release/dev17.12/) in `dotnet/fsharp` repo can't be mirrored from GitHub to Azure DevOps [release/dev17.12](https://dev.azure.com/dnceng/internal/_git/dotnet-fsharp?version=GBrelease%2Fdev17.12&_a=history) via fast forward. There was unexpected error during the mirroring process. unexpected http status code: 500...
Basically I propose to revive https://github.com/dotnet/fsharp/pull/17765 Given that at least xUnit tests are now fully isolated and capable of parallel execution, we could speed up the CI considerably. This can...
Please provide a succinct description of the issue. Try to create a byref-like discriminated union holding a byref type (ex. Span) Provide the steps required to reproduce the problem: ```fs...