mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
repl indenting
This commit is contained in:
parent
6fe660acf9
commit
b18ed02b76
4 changed files with 183 additions and 190 deletions
|
@ -10,8 +10,6 @@ namespace nix {
|
|||
|
||||
const std::string nativeSystem = SYSTEM;
|
||||
|
||||
// Traces show the chain of calls in nix code. If an ErrPos is included the surrounding
|
||||
// lines of code will print.
|
||||
BaseError & BaseError::addTrace(std::optional<ErrPos> e, hintformat hint)
|
||||
{
|
||||
err.traces.push_front(Trace { .pos = e, .hint = hint});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue