fsharp
fsharp copied to clipboard
The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
Below are 9 unit tests, 2 green / 7 red. ### Situation The red tests show cases where the MailboxProcessor.PostAnd(Async)Reply calls get stuck for eternity due to different reasons. I...
The following code: ```fsharp type Phillip = { Name: string; Age: int} let p = { Name="Phillip"; Age=28} let ap = {| Name="Phillip"; Age=28 |} ``` Prints _values_ in FSI...
While digging into #4924 I found an example with SRTP chains which produces an internal error. #### Repro steps Try compiling this in FSI: ```fsharp type Bar = static member...
When writing the same `inline` method using statically resolved type parameters two times, first without specifying any type parameters and letting the compiler figure everything out, then by explicitly stating...
Whilst working on the `IComparable` (which includes the inequality operators) version of #5112, I found that the currently implementation of `sbyte[]` do not work correctly when one of the operands...
Using statically resolved type parameters, we ran into a problem where we wrote some code that was wrong according to what the types said, and yet compiled (and so we...
In a fsx file like this: #r "System.Xml.Linq" #r "FSharp.Data.dll" open FSharp.Data type Schema1 = XmlProvider let schema1 = Schema1.GetSample() type Schema2 = XmlProvider let schema2 = Schema2.GetSample() type Schema3...
Right now, we mostly use dictionaries (and concurrent dictionaries) for caching. We need to introduce one compiler-wise cache type(s) with different strategies, and plugged into our activity reporting (reporting metrics,...
Xml doc has wrong reported range (which may affect tooling) and a comment from previous case without bar is shown in the wrong case: ```fsharp type U = /// Aa...
"internal error" - doesn't that mean the compiler error is actually a bug in the compiler? Source that demonstrates the error. ``` open FSharpPlus let test1 () = (fun x...