diff options
author | Kevin Amado <kamadorueda@gmail.com> | 2022-01-21 10:43:16 -0500 |
---|---|---|
committer | Kevin Amado <kamadorueda@gmail.com> | 2022-01-21 16:32:43 -0500 |
commit | c3896e19d0001b4f729017aa96d0a44b6e479a52 (patch) | |
tree | f41be33aff11261bbb4f02ece3241cac102c4a34 /src/libexpr/eval-cache.cc | |
parent | 1472e045a757af4e289801673b456b78ebf18933 (diff) |
forceAttrs: make pos mandatory
Diffstat (limited to 'src/libexpr/eval-cache.cc')
-rw-r--r-- | src/libexpr/eval-cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval-cache.cc b/src/libexpr/eval-cache.cc index a92acafa8..222a34116 100644 --- a/src/libexpr/eval-cache.cc +++ b/src/libexpr/eval-cache.cc @@ -336,7 +336,7 @@ Value & AttrCursor::getValue() if (!_value) { if (parent) { auto & vParent = parent->first->getValue(); - root->state.forceAttrs(vParent); + root->state.forceAttrs(vParent, vParent.determinePos(noPos)); auto attr = vParent.attrs->get(parent->second); if (!attr) throw Error("attribute '%s' is unexpectedly missing", getAttrPathStr()); |