From 91ba464409894c0215e54f086722309b9634d6f2 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 22 Feb 2023 15:15:43 +0100 Subject: cleanup: Fix typos in code line comments and logging messages --- src/buildtool/build_engine/expression/evaluator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buildtool/build_engine/expression/evaluator.cpp') diff --git a/src/buildtool/build_engine/expression/evaluator.cpp b/src/buildtool/build_engine/expression/evaluator.cpp index e9a6a679..6c9d47c3 100644 --- a/src/buildtool/build_engine/expression/evaluator.cpp +++ b/src/buildtool/build_engine/expression/evaluator.cpp @@ -357,12 +357,12 @@ auto UnaryExpr(std::function const& f) return f(argument); } catch (Evaluator::EvaluationError const& ex) { throw Evaluator::EvaluationError::WhileEval( - fmt::format("Having evaluted the argument to {}:", + fmt::format("Having evaluated the argument to {}:", argument->ToString()), ex); } catch (std::exception const& ex) { throw Evaluator::EvaluationError::WhileEvaluating( - fmt::format("Having evaluted the argument to {}:", + fmt::format("Having evaluated the argument to {}:", argument->ToString()), ex); } @@ -856,7 +856,7 @@ auto DisjointUnionExpr(SubExprEvaluator&& eval, auto msg_expr = expr->Map().Find("msg"); if (not msg_expr) { throw Evaluator::EvaluationError::WhileEvaluating( - fmt::format("Having evaluted the argument to {}:", + fmt::format("Having evaluated the argument to {}:", argument->ToString()), ex); } -- cgit v1.2.3