-
Notifications
You must be signed in to change notification settings - Fork 19
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
Invoke viewpoint adapter at correct place #903
base: master
Are you sure you want to change the base?
Invoke viewpoint adapter at correct place #903
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some test cases that illustrate what goes wrong without this change?
@@ -2958,13 +2961,12 @@ public ParameterizedExecutableType constructorFromUse(NewClassTree tree) { | |||
// AnnotatedTypes.asMemberOf handles vararg type properly, so we do not need to compute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update this comment and make it understandable?
I'm confused by the ordering of viewpoint adaptation and con.computeVarargType();
, which is different in the two branches. Is there a reason for this? If so, can you add a comment?
Some test cases with varargs and anonymous classes would be good to cover all these cases explicitly.
No description provided.