aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/nixexpr.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:39:12 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:39:12 +0100
commit137673de5610ce20d03a0a79e242eb64a5c0f615 (patch)
tree97bda29edaa1b758c04c05fba1a1e588903f9c57 /src/libexpr/nixexpr.hh
parent6b279cd10ea82813decc4451fd3842b49ee9deea (diff)
Merge pull request #9681 from edolstra/eval-optimisations
Optimize empty list constants (cherry picked from commit 315aade89d00c692715e5953c36a1b7d6528b703) Change-Id: I0f28ef8a27ccedc45acf44243eec9dc35b733300
Diffstat (limited to 'src/libexpr/nixexpr.hh')
-rw-r--r--src/libexpr/nixexpr.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh
index 2b5b72bc0..b38f19b41 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -298,6 +298,7 @@ struct ExprList : Expr
std::vector<Expr *> elems;
ExprList() { };
COMMON_METHODS
+ Value * maybeThunk(EvalState & state, Env & env) override;
PosIdx getPos() const override
{