mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Make mono test output prettier
This commit is contained in:
parent
e52d427ac8
commit
dfc384aa1f
69 changed files with 594 additions and 594 deletions
|
@ -1725,11 +1725,11 @@ impl<'a> Stmt<'a> {
|
|||
use Stmt::*;
|
||||
|
||||
match self {
|
||||
Let(symbol, expr, _layout, cont) => alloc
|
||||
Let(symbol, expr, layout, cont) => alloc
|
||||
.text("let ")
|
||||
.append(symbol_to_doc(alloc, *symbol))
|
||||
.append(" : ")
|
||||
.append(alloc.text(format!("{:?}", _layout)))
|
||||
.append(layout.to_doc(alloc, Parens::NotNeeded))
|
||||
.append(" = ")
|
||||
.append(expr.to_doc(alloc))
|
||||
.append(";")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue