Details
-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b11
-
generic
-
generic
Description
JavacParser qualIdent returns a JCExpression which may be an JCIdent or a JCFieldAccess.
JCImport has a JCTree for the qualid (which could be narrowed to a JCExpression).
But worse, MemberEnter.visitImport unconditionally casts qualid to a JCFieldAccess.
JCImport has a JCTree for the qualid (which could be narrowed to a JCExpression).
But worse, MemberEnter.visitImport unconditionally casts qualid to a JCFieldAccess.