mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
Remove the concept of "skipped frames"
This commit is contained in:
parent
040874e4db
commit
f05c13ecc2
7 changed files with 16 additions and 28 deletions
|
@ -64,7 +64,6 @@ void printCodeLines(std::ostream & out,
|
|||
struct Trace {
|
||||
std::shared_ptr<Pos> pos;
|
||||
HintFmt hint;
|
||||
bool frame;
|
||||
};
|
||||
|
||||
inline bool operator<(const Trace& lhs, const Trace& rhs);
|
||||
|
@ -162,7 +161,7 @@ public:
|
|||
addTrace(std::move(e), HintFmt(std::string(fs), args...));
|
||||
}
|
||||
|
||||
void addTrace(std::shared_ptr<Pos> && e, HintFmt hint, bool frame = false);
|
||||
void addTrace(std::shared_ptr<Pos> && e, HintFmt hint);
|
||||
|
||||
bool hasTrace() const { return !err.traces.empty(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue