aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-29 15:29:38 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-29 15:29:38 +0000
commit2132d9ddeba14ea2ddcbb16fa51ddb16c45c3c6a (patch)
treed77c3bd42f0a13c9fc78e58e6558c5deab8d99d2 /src/libexpr/primops.cc
parent1f6616dabff48028b2b08fc50889707928201ea6 (diff)
* Fix the ~ operator.
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 5496e945e..65e993708 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -163,7 +163,7 @@ void toString(EvalState & state, Expr e,
}
}
- else throw TypeError(format("%1% is not allowed as a derivation argument") % showType(e));
+ else throw TypeError(format("cannot convert %1% to a string") % showType(e));
}