Skip to content

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

Description

@dbechrd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions