Skip to content

Type of second field in nested update lacks highlighting #17428

Closed

Description

@BoundedChenn31

Similar to #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" }
        ()

2024-07-23_011354

As you can see, first Person in Person.Info.FirstName has highlighting, but second Person does not.

Related information
.NET 8.0.303

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-ColorizationBugImpact-Medium

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions