about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-12T09·45+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-12T09·45+0000
commit4e490025767093e287a8b7b01de52fee7ae36830 (patch)
tree2dcc7a0c6652baafa6398ca66eccc32905756b93 /src/libexpr/eval.cc
parentc3f228f296321991ef54e46fc621a292824b13e1 (diff)
* Doh.
Diffstat (limited to 'src/libexpr/eval.cc')
-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 56a73b49405a..02f5e3dc8d53 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -165,7 +165,7 @@ LocalNoInlineNoReturn(void throwTypeError(const char * s, const string & s2))
 
 LocalNoInlineNoReturn(void throwAssertionError(const char * s, const string & s2))
 {
-    throw TypeError(format(s) % s2);
+    throw AssertionError(format(s) % s2);
 }
 
 LocalNoInline(void addErrorPrefix(Error & e, const char * s))