fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
We've faced an issue that internal function get inlined in the public one and this in turn leads to MethodAccessException on caller side. **Repro steps** Repro zip is attached. just...
## Description This subsumes #16577 (and #13573). Fixes #938. Fixes #9548. ### Before The compiler currently only optimizes `for`-loops over integral ranges when: 1. The type is `int`/`int32`. 2. The...
In a nutshell: ### Problem 1 Object.ToString() -> string? Boolean.ToString() -> string (no null). And many others, e.g. StringBuilder, Exception, etc. This lead to a changed strategy in method resolution,...
Spelling
As discussed in #16204 Fixes misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling). The misspellings have been reported at https://github.com/jsoref/fsharp/actions/runs/6720404664/attempts/1#summary-18263884401 The action reports that the changes in this PR would make it...
## Description Just an experiment to see if this is still safe for the CI. Currently used stackguard depths: | Method | Source | Mean | Error | StdDev |...
**What is this?** This is the first part of [this effort](https://github.com/dotnet/fsharp/issues/16125) to resurrect the awesome work on compiler performance by @manofstick. **How is this different?** Many things have changed, among...
Seems like there is a lot we could do to improve perf of string interpolation. One good example is https://github.com/fsharp/fslang-suggestions/issues/1108, but also some low hanging fruits to start with could...
Consider this code: ```f# type MyId = | IdA of int | IdB of string member this.IdA = match this with | IdA x -> Some x | _ ->...
This is an automatically generated pull request from main into feature/nullness. Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯...
## Description This is an attempt (timebox really) to improve https://github.com/dotnet/fsharp/issues/15669 by using unloadable ALC, if anyone wants to help testing it, it will be appreciated. Fixes #15669 ## Checklist...