summaryrefslogtreecommitdiff
path: root/src/buildtool/build_engine/expression/evaluator.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-02-22 15:15:43 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-02-22 15:39:46 +0100
commit91ba464409894c0215e54f086722309b9634d6f2 (patch)
tree9dd9364ab5a64716992055a3c22f2e2ad5400949 /src/buildtool/build_engine/expression/evaluator.cpp
parentd7d81aa3ed9fedd5e78d6e5aedb43b124427914f (diff)
downloadjustbuild-91ba464409894c0215e54f086722309b9634d6f2.tar.gz
cleanup: Fix typos in code line comments and logging messages
Diffstat (limited to 'src/buildtool/build_engine/expression/evaluator.cpp')
-rw-r--r--src/buildtool/build_engine/expression/evaluator.cpp6
1 files changed, 3 insertions, 3 deletions
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<ExpressionPtr(ExpressionPtr const&)> 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);
}