aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval-error.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-08 09:47:09 +0100
committereldritch horrors <pennae@lix.systems>2024-03-09 10:17:26 -0700
commita9b813cc3bcf89f03de0db96fc2e88d1c83b8303 (patch)
treeb64221dbd3b3461c57e90289cd0539bf96c860dd /src/libexpr/eval-error.hh
parentf2e11ddce1ef76d9f653e0c32659d46ff7d6cafa (diff)
Merge pull request #10066 from 9999years/print-all-frames
Do not skip any stack frames when `--show-trace` is given (cherry picked from commit 0b47783d0a879875d558f0b56e49584f25ceb2d0) Change-Id: Ia0f18266dbcf97543110110c655c219c7a3e3270
Diffstat (limited to 'src/libexpr/eval-error.hh')
-rw-r--r--src/libexpr/eval-error.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval-error.hh b/src/libexpr/eval-error.hh
index 2bb607280..43e6718b0 100644
--- a/src/libexpr/eval-error.hh
+++ b/src/libexpr/eval-error.hh
@@ -90,7 +90,7 @@ public:
[[nodiscard, gnu::noinline]] EvalErrorBuilder<T> & withFrame(const Env & e, const Expr & ex);
- [[nodiscard, gnu::noinline]] EvalErrorBuilder<T> & addTrace(PosIdx pos, HintFmt hint, bool frame = false);
+ [[nodiscard, gnu::noinline]] EvalErrorBuilder<T> & addTrace(PosIdx pos, HintFmt hint);
template<typename... Args>
[[nodiscard, gnu::noinline]] EvalErrorBuilder<T> &