mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
add constructor info in more cases
This commit is contained in:
parent
9bbed89e6a
commit
fdfc99e4e8
2 changed files with 38 additions and 6 deletions
|
@ -916,7 +916,14 @@ impl<'a> BranchInfo<'a> {
|
|||
.append(", tag_id: ")
|
||||
.append(format!("{}", tag_id))
|
||||
.append("} "),
|
||||
_ => alloc.text(""),
|
||||
|
||||
_ => {
|
||||
if PRETTY_PRINT_IR_SYMBOLS {
|
||||
alloc.text(" <no branch info>")
|
||||
} else {
|
||||
alloc.text("")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue