aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-05-12 14:15:35 -0600
committerBen Burdette <bburdette@protonmail.com>2022-05-12 14:15:35 -0600
commit2d0d1ec99d032ce236ee0b8194ac2da762e7f462 (patch)
tree3c9fabf31bb591f3b45d8672c8fd8894667c8e0a /src
parent4f48095c662dc9485d13bde3fcd5bedd548be579 (diff)
remove debug code
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index d2b94b95c..8ef8fe7f5 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -878,7 +878,6 @@ static RegisterPrimOp primop_floor({
* else => {success=false; value=false;} */
static void prim_tryEval(EvalState & state, const PosIdx pos, Value * * args, Value & v)
{
- std::cout << "priatraynasdf0" << std::endl;
auto attrs = state.buildBindings(2);
auto saveDebuggerHook = debuggerHook;
debuggerHook = nullptr;
@@ -886,15 +885,10 @@ static void prim_tryEval(EvalState & state, const PosIdx pos, Value * * args, Va
state.forceValue(*args[0], pos);
attrs.insert(state.sValue, args[0]);
attrs.alloc("success").mkBool(true);
- std::cout << "priatraynasdf0000" << std::endl;
} catch (AssertionError & e) {
- std::cout << "priatraynasdf" << std::endl;
-
attrs.alloc(state.sValue).mkBool(false);
attrs.alloc("success").mkBool(false);
} catch (Error & e) {
- std::cout << "priatraERASERynasdf" << std::endl;
-
attrs.alloc(state.sValue).mkBool(false);
attrs.alloc("success").mkBool(false);
}