fix(muscript): use addFirst in Bind

This commit is contained in:
Johannes Frohnmeyer 2024-04-07 15:17:14 +02:00
parent b6e9923fcf
commit 712a0406c5
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class Bind extends DynamicExpr {
DCallable clb = callable.get(dataRoot).asCallable();
return DFinal.of("<bind>", args -> {
List<Dynamic> argsWithParameter = new LinkedList<>(args.getValue());
argsWithParameter.add(0, param);
argsWithParameter.addFirst(param);
return clb.call(DFinal.of(argsWithParameter));
}, () -> this);
}