summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-10-26 17:04:55 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-10-26 17:04:55 +0000
commit033d7c65930c7613fa21510f03984d764fcdb7d3 (patch)
treee96154af0e2abb13a866fa35152eab50cead7130 /src
parent9fa07b376dd52ee8bbcc074e59d36af3f3f2536d (diff)
downloadguix-033d7c65930c7613fa21510f03984d764fcdb7d3.tar.gz
* Doh!
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 4454aaec45..35b9cae00b 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -348,7 +348,7 @@ Expr evalExpr2(EvalState & state, Expr e)
             return makeString(s1 + s2);
         else if (atMatch(m, e1) >> "Path" >> s1 &&
             atMatch(m, e2) >> "Path" >> s2)
-            return makeString(canonPath(s1 + "/" + s2));
+            return makePath(canonPath(s1 + "/" + s2));
         else throw Error("wrong argument types in `+' operator");
     }