fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
The F# compiler takes a long time to compile xUnit assertions, e.g. `Assert.Equal(1,2)`, especially if untyped e.g. `Assert.Equal(1,2)` To reproduce the problem: 1. Create an empty project. 2. Build the...
```fsharp module Compiled type Task = { F: int } module CompiledExtensions = type System.Threading.Tasks.Task with static member CompiledStaticExtension() = () type Task with static member CompiledStaticExtension() = () ```...
As a non-native speaker, I easily make a mistake when spelling the word `quit`. I also tend to forget which is the right sequence of characters for quitting the `dotnet...
The tests sometimes fail in CI trying to reference `#r "nuget:Newtonsoft.Json, 13.0.1"`. ``` #r "nuget:Newtonsoft.Json, 13.0.1" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stdin(1119,1): error FS0999: The process cannot access the file 'C:\Users\cloudtest/.packagemanagement/nuget\Cache\ee54a783c1b4e3fe8e3c42c5a10c384669fed24c7ffbdacfc9698816f925f337.resolvedReferences.paths' because it is...
When taking an address of a struct value, there's an unexpected error produced when setting it to a wildcard pattern: ```fsharp module Module type S = struct val Field: int...
Link: https://github.com/fsprojects/FSharp.Control.TaskSeq/issues/269 Posted that issue in TaskSeq, but since the project is inactive, I decided to repost it here for visibility. **Repro steps** Repo: https://github.com/mrakgr/taskseq_bug_report ```fsharp module ICF_Main.Main open System...
In the discussion of https://github.com/fsharp/fslang-suggestions/issues/1438, I think that the way one-line lists are being parsed is not consistent with operator precedence. (`;` is lower precedence than `if`) **Repro steps, Expected...
**Repro steps** ```fsharp let x (f: System.Action) = f.Invoke 99 f.Invoke 98 printfn "here" let y () = printfn "one time" fun num -> printfn "%d" num x (y ())...
**Repro steps** Compile and run this with `dotnet run` ```fsharp module A = [] let B = 42m [] let main args = 0 ``` ```xml Exe net9.0 Test ```...
Please provide a succinct description of the issue: Attempting to use AOT with F# is problematic when trying to identify where your code may be calling offending functions. The C#...