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

Doesn't recognize type declarations when preceded by using. #28

Open
dbechrd opened this issue Oct 6, 2024 · 0 comments
Open

Doesn't recognize type declarations when preceded by using. #28

dbechrd opened this issue Oct 6, 2024 · 0 comments

Comments

@dbechrd
Copy link

dbechrd commented Oct 6, 2024

I had this:

using SingleTestMessageType :: enum u16 {
    SINGLE_TEST_MESSAGE;
    NUM_SINGLE_TEST_MESSAGE_TYPES;
}

but the language server couldn't see the type. I changed it to this:

SingleTestMessageType :: enum u16 {
    SINGLE_TEST_MESSAGE;
    NUM_SINGLE_TEST_MESSAGE_TYPES;
}
using SingleTestMessageType;

and it works fine. Not sure how difficult this would be to fix, considering how many places using can show up, but figured I'd report it.

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

1 participant