mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Add Subs.dbg
This commit is contained in:
parent
3c968b581d
commit
9a7402f40b
1 changed files with 5 additions and 0 deletions
|
@ -2146,6 +2146,11 @@ impl Subs {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
pub fn dbg(&self, var: Variable) -> impl std::fmt::Debug + '_ {
|
||||
SubsFmtContent(self.get_content_without_compacting(var), self)
|
||||
}
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue