-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
It should be impossible to configure actual type arguments for CtTypeParameterReference #600
Comments
I'm not in favor of throwing an exception because it would require client code to add ugly try/catch. however, you're right, and there should not be no code in CtTypeParameterReference.addActualTypeArgument. We'll try to remove it and replace it by an appropriate comment. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
methods like
addActualTypeArgument()
should throw exception, because this is illegal things to do. But they have some logic currently inCtTypeParameterReferenceImpl
.The text was updated successfully, but these errors were encountered: