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

No highlighting and type interference for localy used enum variants. #5540

Closed
addrianyy opened this issue Jul 26, 2020 · 1 comment
Closed

Comments

@addrianyy
Copy link

enum TestEnum {
    VariantA,
}

Given this enum, when VariantA is used in global scope then highlighting and type interference work correctly:
image
However if it's used in function scope it doesn't work correctly:
image

@addrianyy addrianyy changed the title No highlighting and type interference for locally used enum variants. No highlighting and type interference for localy used enum variants. Jul 26, 2020
@flodiebold
Copy link
Member

Duplicate of #1165.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants