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

printEnvPosChain

This commit is contained in:
Ben Burdette 2021-09-13 11:57:25 -06:00
parent 310c689d31
commit 176911102c
11 changed files with 32193 additions and 4 deletions

View file

@ -100,6 +100,12 @@ struct ErrPos {
}
};
std::optional<LinesOfCode> getCodeLines(const ErrPos & errPos);
void printCodeLines(std::ostream & out,
const string & prefix,
const ErrPos & errPos,
const LinesOfCode & loc);
struct Trace {
std::optional<ErrPos> pos;
hintformat hint;