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

Colorization bug with static methods used on types with qualified generic arguments #18009

Open
charlesroddie opened this issue Nov 15, 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

@charlesroddie
Copy link
Contributor

charlesroddie commented Nov 15, 2024

When using static methods of generic types with a qualified generic argument, the type name tends to become white (in dark mode with default coloring).

type MyType<'a> =
    static member S = ()
let x = MyType<Int32>.S
let x2 = MyType<System.Int32>.S // buggy colouring of MyType here

Image

Note that the fact that the qualification is also white is not related here: even if System is replaced with a module defined in F# (making the module name not white), MyType still remains white.

VS 17.12.0

@github-actions github-actions bot added this to the Backlog milestone Nov 15, 2024
@psfinaki psfinaki added Bug Impact-Medium (Internal MS Team use only) Describes an issue with moderate impact on existing code. Area-LangService-Colorization and removed Needs-Triage labels Nov 18, 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