You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :).
The text was updated successfully, but these errors were encountered:
jjbr
pushed a commit
to jjbr/javaparser
that referenced
this issue
Aug 28, 2018
The symbol solver currently assumes that constructors are always inside of a
ClassOrInterfaceDeclaration
. They can also be found inEnumDeclarations
, however, which results in aClassCastException
when trying to resolve an enum constructor. Test will follow in a moment :).The text was updated successfully, but these errors were encountered: