diff options
author | Ben Burdette <bburdette@protonmail.com> | 2022-05-15 12:05:51 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@protonmail.com> | 2022-05-15 12:05:51 -0600 |
commit | 86ba0a702c63b4a8ff79a07f9303318feb330642 (patch) | |
tree | 23caba139425d629f1382b88d60155b200bd9769 /src | |
parent | 6faa56ea1f7f8b708e8c931f41b627541a023c79 (diff) |
fix thunk issue
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index c36bb59fb..d9ea92cc0 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -2073,7 +2073,7 @@ void EvalState::forceValueDeep(Value & v) try { // If the value is a thunk, we're evaling. Otherwise no trace necessary. auto dts = debuggerHook && i.value->isThunk() - ? makeDebugTraceStacker(*this, *v.thunk.expr, *v.thunk.env, positions[i.pos], + ? makeDebugTraceStacker(*this, *i.value->thunk.expr, *i.value->thunk.env, positions[i.pos], "while evaluating the attribute '%1%'", symbols[i.name]) : nullptr; |