fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
Recently I discovered that we got a stack overflow for a function that we had the `TailCallAttribute` on. It seems that the check doesn't work well for functions that uses...
## Description Fixes # (issue, if applicable) ## Checklist - [ ] Test cases added - [ ] Performance benchmarks added in case of performance changes - [ ] Release...
## Description Implements https://github.com/fsharp/fslang-suggestions/issues/1033 Deprecate `{ start..finish }` and `{ start..step..finish }` ## Before To create a sequence, you can use `{ start..finish }` or `{ start..finish..step }`. ```fsharp {...
Previously the `Console.Out` stream was remembered and finally restored in case of using `--utf8output` switch in order to restore the original console encoding. With this PR, just the original encoding...
When building an F# application that uses a NuGet package also developed using F#, if the SDK used in the app is a bit outdated, then a warning [NU1605](https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1605) will...
## Description Better ranges for implicit Inherit error reporting. ### Before    ###...
**Repro steps** The following code can easily reproduce the error: ```f# type TestClass() as SomeSelfIdentifier = member inline AnotherSelfIdentifier.test() = 5 ``` It also happens when the self-identifier is the...
Enable running xUnit tests in parallel. To use xUnit means to customize it. Two customizations added: - Running collection and theory cases in parallel based on https://www.meziantou.net/parallelize-test-cases-execution-in-xunit.htm By default xUnit's...
First part of the implementation of reusing typecheck results, as per the [design doc](https://github.com/dotnet/fsharp/pull/17368/files). This basically does 2 things: - adds the flag `--reusetypecheckingresults`, with all the hooking - force-generates...
Fixes #6712, #17878 This PR raises also a warning(behind `LanguageFeature.WarnOnUppercaseIdentifiersInPatterns`) for `uppercase identifiers in patters regardless its length` as oppose to the previous `hack` when it was only raise if...