forked from lix-project/lix
Merge pull request #9913 from 9999years/debugger-positions
Print positions in `--debugger`, instead of pointers (cherry picked from commit49cf090cb2
) Change-Id:Ic27917b2aab3657c28d599898377bf0c14753f8a
This commit is contained in:
parent
74272a9bc4
commit
625df32afc
|
@ -221,7 +221,7 @@ static std::ostream & showDebugTrace(std::ostream & out, const PosTable & positi
|
|||
: static_cast<std::shared_ptr<AbstractPos>>(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