Eval: Fix mal test

The quote in the error message broke the step2 test.
This commit is contained in:
Riyyi
2023-03-25 17:49:54 +01:00
parent a92eede277
commit cc735a7a11
+1 -1
View File
@@ -42,7 +42,7 @@ ASTNode* Eval::evalAst(ASTNode* ast, Environment* env)
if (is<Symbol>(ast)) {
auto result = env->lookup(static_cast<Symbol*>(ast)->symbol());
if (!result) {
Error::the().addError(format("symbols function definition is void: {}", ast));
Error::the().addError(format("symbol's function definition is void: {}", ast));
}
return result;
}