1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

formatting

This commit is contained in:
Ben Burdette 2022-03-16 12:09:47 -06:00
parent 3dfab6e534
commit 88a54108eb
3 changed files with 14 additions and 14 deletions

View file

@ -715,20 +715,20 @@ static RegisterPrimOp primop_break({
});
if (debuggerHook && !state.debugTraces.empty())
{
auto &dt = state.debugTraces.front();
debuggerHook(&error, dt.env, dt.expr);
auto &dt = state.debugTraces.front();
debuggerHook(&error, dt.env, dt.expr);
if (state.debugQuit) {
// if the user elects to quit the repl, throw an exception.
throw Error(ErrorInfo{
.level = lvlInfo,
.msg = hintfmt("quit from debugger"),
.errPos = pos,
});
}
if (state.debugQuit) {
// if the user elects to quit the repl, throw an exception.
throw Error(ErrorInfo{
.level = lvlInfo,
.msg = hintfmt("quit from debugger"),
.errPos = noPos,
});
}
// returning the value we were passed.
v = *args[0];
// returning the value we were passed.
v = *args[0];
}
}
});