Skip to content

Commit

Permalink
simplify FunctionType.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
lewurm committed Apr 8, 2022
1 parent 520e23f commit 4ded337
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public String toString() {
sb.append(argumentTypes[i]);
}

if ((fixedArgs == 0 && argumentTypes.length == 0) || fixedArgs == argumentTypes.length) {
if (fixedArgs == argumentTypes.length) {
sb.append("...");
}
sb.append(")");
Expand Down

0 comments on commit 4ded337

Please sign in to comment.