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

LSP server doesn't recognise nested enums #5

Open
qwandor opened this issue Jan 4, 2022 · 2 comments
Open

LSP server doesn't recognise nested enums #5

qwandor opened this issue Jan 4, 2022 · 2 comments

Comments

@qwandor
Copy link

qwandor commented Jan 4, 2022

AIDL allows enums to be nested under parcelables, but the LSP server doesn't accept it. E.g.:

package test;

parcelable TestWithEnum {
    enum TestEnum {
        ONE,
        TWO,
    }

    TestEnum number;
}
@qwandor
Copy link
Author

qwandor commented Jan 4, 2022

The syntax highlighter grammar also has a similar bug, I've filed google/aidl-language#2 for that.

@bwalter
Copy link
Owner

bwalter commented Jan 5, 2022

Thanks! As far as I know, it is part of the (larger) feature set of Android T (nested type declarations).

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

No branches or pull requests

2 participants