fix: procedure callers now remove inputs properly (#5751)

This commit is contained in:
alschmiedt
2021-11-30 16:03:18 -08:00
committed by GitHub
parent 208d2008a3
commit 47c821018e

View File

@@ -808,7 +808,7 @@ const procedureCall = {
}
}
// Remove deleted inputs.
for (let i = this.itemCount_; this.getInput('ARG' + i); i++) {
for (let i = this.arguments_.length; this.getInput('ARG' + i); i++) {
this.removeInput('ARG' + i);
}
// Add 'with:' if there are parameters, remove otherwise.