fixup! fix errors case and wording

This commit is contained in:
Guillaume Maudoux 2022-04-28 13:18:19 +02:00
parent 402ee8ab64
commit f6baa4d188

View file

@ -753,7 +753,7 @@ LocalNoInlineNoReturn(void throwEvalErrorWithTrace(const char * s, const std::st
{
auto e = EvalError(ErrorInfo {
.msg = hintfmt(s, s2),
})
});
e.addTrace(p2, s3);
throw e;
}