From 1515c6561688b216d27c732c8df43b65909fa03e Mon Sep 17 00:00:00 2001
From: volth <volth@volth.com>
Date: Thu, 5 Jul 2018 15:33:33 +0000
Subject: [PATCH] prim_concatMap: no need to force value

---
 src/libexpr/primops.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index ed4c0285b..e71e3a6d4 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1659,7 +1659,6 @@ static void prim_concatMap(EvalState & state, const Pos & pos, Value * * args, V
 
     for (unsigned int n = 0; n < nrLists; ++n) {
         Value * vElem = args[1]->listElems()[n];
-        state.forceValue(*vElem);
         state.callFunction(*args[0], *vElem, lists[n], pos);
         state.forceList(lists[n], pos);
         len += lists[n].listSize();
-- 
GitLab