fsharp
fsharp copied to clipboard
Type of second field in nested update lacks highlighting
Similar to https://github.com/dotnet/fsharp/issues/15696 but for second type qualifier.
Repro steps
module Say =
type Person = {
Id: int64
Info: PersonInfo
}
and PersonInfo = {
FirstName: string
LastName: string
}
let copy (p: Person) =
let _ =
{ p with
Person.Info.FirstName = "Joe"
Person.Info.LastName = "Bar" }
()
As you can see, first Person in Person.Info.FirstName has highlighting, but second Person does not.
Related information .NET 8.0.303