-
-
Notifications
You must be signed in to change notification settings - Fork 361
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
ctVisitTypeReference() doesn't visit RHS instanceof occurrences #349
Comments
I don't understand this issue. What is the link between |
Sorry I was not precise. If I try to scan all references, by calling I proposed a possible fix in the issue body. But since from JLS perspective there are no such term as "type literal", probably "right" solution would be create a special class of expression for |
The real question here is: why the right hand operand is a @monperrus Any idea? That sounds good for you to change the right hand operand from |
@GerardPaligot I think because instanceof is JLS classify |
This is exactly what I want changed! Deprecate the right hand operand expression and create a new one (typed by |
The fix I came up with is
But I'm not sure this is the "right" way.
The text was updated successfully, but these errors were encountered: