fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
This is a first cut at improving the circularity analysis for initialization, which has had a couple of bugs known for a while now * This case was being reported...
I'm trying to have an expression tree to compare a struct with the same item, and it fails? ```fsharp open System open System.Linq.Expressions //let tester = Some "a" //works //let...
You cannot compare value-options directly due to #13370 Boxing them causes the LINQ compiles but does incorrect runtime result: **Repro steps, actual behaviour** ```fsharp let datasource1 = [1; 2].AsQueryable() //...
This makes some small improvements to the names we use for closures, see https://github.com/dotnet/fsharp/issues/12366 Closure names are `@[]`. We previously used the following rule for the prefix: > If inside...
**Is your feature request related to a problem? Please describe.** It would be nice to have similar functionality like in other languages, where it is possible to reference a project...
Continuation of #5790 This is a prototype implementation of [RFC FS-1060 nullable reference types](https://github.com/fsharp/fslang-design/blob/master/RFCs/FS-1060-nullable-reference-types.md) See `tests\fsharp\core\nullness\test.fsx` for testing and samples. TODO: * [ ] implement import of .NET metadata *...
Fixes https://github.com/dotnet/fsharp/issues/13219 I've tested manually, an automated test needs to be added. Adding a test here seems to make sense: https://github.com/dotnet/fsharp/blob/main/tests/fsharp/typeProviders/helloWorld/test.fsx#L761 We should double check all these type provider tests...
I took a look at https://github.com/dotnet/fsharp/issues/12860 which was a regression in overload resolution in F# 5.0 when [some rules around Nullable interop were added mainly for C# optional parameters](https://github.com/fsharp/fslang-design/blob/main/FSharp-5.0/FS-1075-nullable-interop.md). This...
```fsharp #i """ /some/relative/path/containing/nuget/packages""" #r "nuget: Some.Package" ``` ## Expected i can load the package from a relative folder in my directory, e.g. in a project to test from a...
In the Visual Studio (2019 or 2022) Nuget package manager, add 2 sources : C:\nuget\rihanna C:\nuget\beyoncé Create the underlying directories as well. Then in Visual Studio FSI Window, type :...