mbien commented on issue #9172:
URL: https://github.com/apache/netbeans/issues/9172#issuecomment-3816933125

   it probably shouldn't be possible that the `TypeMirror` of a path is of 
`TypeKind.EXECUTABLE` while the `Element` of the same path is something else 
outside of `ExecutableElement`. The code at least assumes right now that this 
is always the case.
   
   We could probably add an `instanceof` there which would fix the CCE but my 
guess is that completion won't work very well still if this situation occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to