forked from lix-project/lix
Merge pull request #9913 from 9999years/debugger-positions
Print positions in `--debugger`, instead of pointers
This commit is contained in:
commit
49cf090cb2
|
@ -232,7 +232,7 @@ static std::ostream & showDebugTrace(std::ostream & out, const PosTable & positi
|
|||
: positions[dt.expr.getPos() ? dt.expr.getPos() : noPos];
|
||||
|
||||
if (pos) {
|
||||
out << pos;
|
||||
out << *pos;
|
||||
if (auto loc = pos->getCodeLines()) {
|
||||
out << "\n";
|
||||
printCodeLines(out, "", *pos, *loc);
|
||||
|
|
Loading…
Reference in a new issue