fsharp
fsharp copied to clipboard
Incorrect error message when mixing struct/reference anonymous records
let test (ar: {| IntVal: int |}) = printfn "%d" ar.IntVal
test struct {| IntVal=12 |}
Output:
error FS0001: One tuple type is a struct tuple, the other is a reference tuple
The message should refer to anonymous records.