aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-12-13 15:23:12 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-12-13 15:23:12 +0100
commitaea97f07a388915e5a7179f56ab4328fef155f05 (patch)
tree428c065f46ee2924d0aff40fd79b84a04cdf9fd4 /src/libexpr/eval.cc
parent1315133b50fd836f5b8bafc8bf63c85aef475a04 (diff)
Fix compilation
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index adf928949..de84dd7a5 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1246,7 +1246,7 @@ void EvalState::cacheFile(
*this,
*e,
this->baseEnv,
- e->getPos() ? static_cast<std::shared_ptr<AbstractPos>>(positions[e->getPos()] : nullptr),
+ e->getPos() ? static_cast<std::shared_ptr<AbstractPos>>(positions[e->getPos()]) : nullptr,
"while evaluating the file '%1%':", resolvedPath)
: nullptr;