fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio

Results 768 fsharp issues
Sort by recently updated
recently updated
newest added

## Description The `--preferreduilang` and `/preferreduilang` switches were appearing in `fsi.CommandLineArgs` when positioned after the script file, breaking script argument contracts and causing MSBuild-invoked FSI sessions to leak implementation details....

**Repro steps** Provide the steps required to reproduce the problem: 1. Build the attached FsiBugRepo.csproj from VS 22 or 26. Notice erroneous```--preferreduilang:en-US``` in the output from the fsx script 2....

Bug

## Description This PR documents the investigation into why building projects with many files (10,000+) exhibits O(n²) scaling, identifies the root cause in `CombineCcuContentFragments`, and implements a production-ready CachedDList data...

Tail calls were still emitted when pinning locals (e.g., `fixed &value` or `&&value`), leading to corrupted results at runtime. - **Codegen safety**: Track address-taken locals in `IlxGen` and suppress tailcall...

## Description Added documentation and tests that maxBy/minBy return the first max/min element (Array, List, Seq). Added tests that the first min/max element is returned (Array, List, Seq). I wasn't...

Opening another issue, since the [original](https://github.com/dotnet/fsharp/issues/18689) is closed and I haven't gotten a response there. The original problem with pinned arrays seems to be fixed, the tail call is gone...

Bug
Area-Compiler-CodeGen

## Description Migrates the F# compiler test infrastructure from xUnit2 to xUnit3. ### What Was Accomplished **Phase 1: Infrastructure** - Updated all packages to xUnit3 (3.1.0, 3.1.4) - Configured 13...

## Description This is some simple optimization work for #17488. On the basis of optimizing the style, the standard path format has been retained ^_^ ## Checklist - [ ]...

When using .NET 9 SDK or earlier, the `string` function returns the enum case name for FSharp.Core versions < 10. When upgrading to FSharp.Core 10.0.100, the `string` function returns the...

Bug
Regression
Area-Library