Skip to content

Commit

Permalink
Compute Varargs before calling setParameterTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong committed Aug 19, 2024
1 parent 9302124 commit 42a2815
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public void viewpointAdaptMethod(
// and sets the corresponding parts to asMemberOf result
methodType.setReturnType(unsubstitutedMethodType.getReturnType());
methodType.setReceiverType(unsubstitutedMethodType.getReceiverType());
methodType.computeVarargType();
methodType.setParameterTypes(unsubstitutedMethodType.getParameterTypes());
methodType.setTypeVariables(unsubstitutedMethodType.getTypeVariables());
}
Expand Down

0 comments on commit 42a2815

Please sign in to comment.