fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
I'm writing a POC to see how viable F# is for our new project. I have set up an in memory database with EF Core, as I want to give...
Consider this sample: ```fsharp open System type AsyncDisposable() = interface IAsyncDisposable with member this.DisposeAsync() = failwith "todo" type Disposable() = interface IDisposable with member this.Dispose() = failwith "todo" AsyncDisposable() |>...
Discovered when playing with F# comparison rules. Look:  This is the correct error. But once I add a comparison test, the error changes and becomes confusing:  **Expected behavior**...
Please provide a succinct description of the issue. **Repro steps** Steps required to reproduce the problem: 1. Use this code on any .fs file and compile it: ``` [] let...
The Ahead of time tests are not correctly propagating the failure. Fixes: https://github.com/dotnet/fsharp/issues/17126
Fixes #16447 Fixes #17134 The problem was introduced together with the constraint intersection support [here](https://github.com/dotnet/fsharp/pull/15413). The parser no longer stops at the ampersand sign in the clause and tries to...
## Description This is a port of [fsih](https://github.com/dawedawe/fsih) to fsi itself as a hash directive.  I think using a hash directive for this makes the most sense but as...
There is no compile-time error when: 1. You invoke a static abstract member on a type parameter that is constrained to be an interface with the given static abstract member...
There is no compile-time error if a type only partially implements an interface with static abstract members (IWSAM). If you try to use the partial implementation, a `System.TypeLoadException` is raised...
I noticed this while trying to excise unexpected uses of YoLo.fs in projects that depend (even if only transitively) on Http.Fs: https://github.com/haf/Http.fs/issues/176 . While this particular case does not appear...