mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
stack traces basically working
This commit is contained in:
parent
b4a59a5eec
commit
bc20e54e00
3 changed files with 78 additions and 17 deletions
|
@ -106,6 +106,9 @@ void printCodeLines(std::ostream & out,
|
|||
const ErrPos & errPos,
|
||||
const LinesOfCode & loc);
|
||||
|
||||
void printAtPos(const ErrPos & pos, std::ostream & out);
|
||||
|
||||
|
||||
struct Trace {
|
||||
std::optional<ErrPos> pos;
|
||||
hintformat hint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue