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

Resolution of Enum Constructors Fails #1806

Closed
jjbr opened this issue Aug 28, 2018 · 1 comment
Closed

Resolution of Enum Constructors Fails #1806

jjbr opened this issue Aug 28, 2018 · 1 comment

Comments

@jjbr
Copy link
Contributor

jjbr commented Aug 28, 2018

The symbol solver currently assumes that constructors are always inside of a ClassOrInterfaceDeclaration. They can also be found in EnumDeclarations, however, which results in a ClassCastException when trying to resolve an enum constructor. Test will follow in a moment :).

@matozoid
Copy link
Contributor

See #1768

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