From 4e490025767093e287a8b7b01de52fee7ae36830 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 12 Apr 2010 09:45:00 +0000 Subject: [PATCH] * Doh. --- src/libexpr/eval.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 56a73b494..02f5e3dc8 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))