prim_concatMap: no need to force value
This commit is contained in:
parent
e6bf1a79d7
commit
1515c65616
|
@ -1659,7 +1659,6 @@ static void prim_concatMap(EvalState & state, const Pos & pos, Value * * args, V
|
||||||
|
|
||||||
for (unsigned int n = 0; n < nrLists; ++n) {
|
for (unsigned int n = 0; n < nrLists; ++n) {
|
||||||
Value * vElem = args[1]->listElems()[n];
|
Value * vElem = args[1]->listElems()[n];
|
||||||
state.forceValue(*vElem);
|
|
||||||
state.callFunction(*args[0], *vElem, lists[n], pos);
|
state.callFunction(*args[0], *vElem, lists[n], pos);
|
||||||
state.forceList(lists[n], pos);
|
state.forceList(lists[n], pos);
|
||||||
len += lists[n].listSize();
|
len += lists[n].listSize();
|
||||||
|
|
Loading…
Reference in a new issue