Skip to content

Commit

Permalink
Fix ReplaceParam#offset return value
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Apr 24, 2024
1 parent 597466d commit bd1d9b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public ParameterTransformer asParameterTransformer() {
record ReplaceParam(int index, Type type) implements ParamModification {
@Override
public ParamModification offset(int offset) {
return new InsertParam(this.index + offset, this.type);
return new ReplaceParam(this.index + offset, this.type);
}

@Override
Expand Down

0 comments on commit bd1d9b2

Please sign in to comment.