Eval: Fix mal test
The quote in the error message broke the step2 test.
This commit is contained in:
+1
-1
@@ -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("symbol’s function definition is void: {}", ast));
|
||||
Error::the().addError(format("symbol's function definition is void: {}", ast));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user