This commit is contained in:
Eelco Dolstra 2004-10-26 17:04:55 +00:00
parent 9fa07b376d
commit 033d7c6593

View file

@ -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");
}