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

Automatically implemented property occurs internal error. #### Repro steps ```fsharp // fsi > type I = abstract member X: int with get, set type R = { x: int }...

Bug
Impact-Low
Area-Diagnostics

Comparing value types with the equality operator (=) causes unnecessary boxing to occur. Tested on Visual Studio 2015 RC. I described the issue in this [StackOverflow question](http://stackoverflow.com/a/31283508/154766). Example: ``` []...

Feature Request
Theme-Performance
Area-Compiler-Optimization

Part of the upcoming perf effort: should have less allocs and speed things up a bit. The current best RegEx seems to be this one: (?:let|val)(\s+rec)?\s+\(\|[^|)]+\|_\|\)

Theme-Performance

Please provide a succinct description of the issue. I've found a case where compiler is not able to compile the code it used to compile before. This particular flavor of...

Bug
Regression
Impact-High
Area-Compiler-Syntax

Makes the function public, as sometimes we don't need the additional checks from the public `NormalizeIdentifierBackticks`, and in some cases they are causing issues with the logic that we have.

[AWS-CDK](https://docs.aws.amazon.com/cdk/v2/guide/cli.html) offers a (not officially supported) [FSharp template](https://github.com/aws/aws-cdk/tree/main/packages/aws-cdk/lib/init-templates/app/fsharp). When using this template and opening it in VSCode with Ionide, after restoring dependencies, opening FSharp files in the project doesn't function...

Bug
Impact-Low
Area-Compiler-Service

Case 1 ``` type Test() = member __.Equals (_: Test) = true let inline Equals(a: obj) (b: ^t) = match a with | :? ^t as x -> (^t: (member...

Bug
Impact-Medium
Area-Compiler-SRTP

I try to use Named HttpClient as described in the [documentation](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.dependencyinjection.httpclientfactoryservicecollectionextensions.addhttpclient?view=dotnet-plat-ext-8.0#microsoft-extensions-dependencyinjection-httpclientfactoryservicecollectionextensions-addhttpclient(microsoft-extensions-dependencyinjection-iservicecollection-system-string-system-action((system-net-http-httpclient)))) from a Giraffe application. ``` services.AddHttpClient( "poc", (fun httpClient -> httpClient.BaseAddress ignore ``` Together with: ``` let factory =...

Feature Improvement
Needs-More information
Area-Compiler-Checking

Basically, diagnostics for not implemented stuff in signatures (FS0193) don't show up. Not when you edit the implementation, and not in the background solution analysis. You need to build to...

Bug
Impact-Low
Transparent-Compiler

`reportTime` is used for recording timings of individual phases of compilation. When the `--times:file.csv` is used, it produces a csv file with the following header: ``` Name,StartTime,EndTime,Duration(s),Id,ParentId,RootId,fileName,project,qualifiedNameOfFile,userOpName,length,cache,cpuDelta(s),realDelta(s),gc0,gc1,gc2,outputDllFile,buildPhase ``` Every `reportTime`...

Bug
Impact-Low
Engineering