aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGytis Ivaskevicius <me@gytis.io>2022-07-05 19:56:39 +0300
committerGytis Ivaskevicius <me@gytis.io>2022-07-05 19:56:39 +0300
commitb2703c73a4e28a2456a599a122cc2b4ab0d33430 (patch)
tree5ed605beb55b010cbb572e7951145d89d886b3eb
parentba1fe85b65e4e6408971bb36c40e0aad684cfc74 (diff)
builtins.traceVerbose: Post rebase fixes
-rw-r--r--src/libexpr/primops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index ac84e26c3..5fda9af75 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -973,7 +973,7 @@ static RegisterPrimOp primop_trace({
/* Takes two arguments and evaluates to the second one. Used as the
* builtins.traceVerbose implementation when --trace-verbose is not enabled
*/
-static void prim_second(EvalState & state, const Pos & pos, Value * * args, Value & v)
+static void prim_second(EvalState & state, const PosIdx pos, Value * * args, Value & v)
{
state.forceValue(*args[1], pos);
v = *args[1];
@@ -3938,7 +3938,7 @@ void EvalState::createBaseEnv()
addPrimOp({
.fun = evalSettings.traceVerbose ? prim_trace : prim_second,
.arity = 2,
- .name = symbols.create("__traceVerbose"),
+ .name = "__traceVerbose",
.args = { "e1", "e2" },
.doc = R"(
Evaluate *e1* and print its abstract syntax representation on standard