diff options
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
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)) |