mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Pretty print symbols
This commit is contained in:
parent
b0300e4e90
commit
01dea13b49
5 changed files with 109 additions and 110 deletions
|
@ -1154,7 +1154,7 @@ struct SetElement<'a> {
|
|||
|
||||
impl std::fmt::Debug for SetElement<'_> {
|
||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
let symbol_string = crate::ir::symbol_to_doc_string(self.symbol);
|
||||
let symbol_string = crate::ir::symbol_to_doc_string(self.symbol, false);
|
||||
|
||||
write!(f, "( {}, {:?})", symbol_string, self.layout)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue