Use E instead of destructuring for v{u,e} functions

This also has an added benefit: that it's ES5-compatible.  Aside from the
arrow functions that need to be removed in future commits.
master
Mike Gerwitz 2021-01-20 15:47:23 -05:00
parent cfbdc35a55
commit 3a6695c873
1 changed files with 4 additions and 4 deletions

View File

@ -735,7 +735,7 @@
</when>
<otherwise>
<sequence select="concat( '[', $yield-to, ',', $var, ']=v', $ctype, '([',
<sequence select="concat( $var, '=E(', $yield-to, '=v', $ctype, '([',
string-join(
for $v in $vectors
return compiler:match-name-on( $symtable-map, $v ),
@ -744,7 +744,7 @@
for $v in $vectors
return compiler:match-value( $symtable-map, $v ),
','),
']);' )" />
']));' )" />
</otherwise>
</choose>
</when>
@ -1588,7 +1588,7 @@
base
);
return [result, result.some(s => s === 1)];
return result;
}
function ve(vs, cmps)
@ -1601,7 +1601,7 @@
base
);
return [result, result.some(s => s === 1)];
return result;
}