mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
Print positions in --debugger
, instead of pointers
This commit is contained in:
parent
081dc5daa1
commit
7d7483cafc
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ static std::ostream & showDebugTrace(std::ostream & out, const PosTable & positi
|
||||||
: positions[dt.expr.getPos() ? dt.expr.getPos() : noPos];
|
: positions[dt.expr.getPos() ? dt.expr.getPos() : noPos];
|
||||||
|
|
||||||
if (pos) {
|
if (pos) {
|
||||||
out << pos;
|
out << *pos;
|
||||||
if (auto loc = pos->getCodeLines()) {
|
if (auto loc = pos->getCodeLines()) {
|
||||||
out << "\n";
|
out << "\n";
|
||||||
printCodeLines(out, "", *pos, *loc);
|
printCodeLines(out, "", *pos, *loc);
|
||||||
|
|
Loading…
Reference in a new issue