Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type of second field in nested update lacks highlighting #17428

Open
BoundedChenn31 opened this issue Jul 22, 2024 · 0 comments
Open

Type of second field in nested update lacks highlighting #17428

BoundedChenn31 opened this issue Jul 22, 2024 · 0 comments
Labels
Area-LangService-Colorization Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone

Comments

@BoundedChenn31
Copy link
Contributor

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

@github-actions github-actions bot added this to the Backlog milestone Jul 22, 2024
@abonie abonie added Area-LangService-Colorization Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code. and removed Needs-Triage labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-Colorization Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code.
Projects
Status: New
Development

No branches or pull requests

2 participants