diff --git a/framework/src/main/java/org/checkerframework/framework/type/AbstractViewpointAdapter.java b/framework/src/main/java/org/checkerframework/framework/type/AbstractViewpointAdapter.java index d85f0814579..90abff4a90f 100644 --- a/framework/src/main/java/org/checkerframework/framework/type/AbstractViewpointAdapter.java +++ b/framework/src/main/java/org/checkerframework/framework/type/AbstractViewpointAdapter.java @@ -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()); }