mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
display join points like a let ... in ...
This commit is contained in:
parent
b7f7de8afb
commit
9af83bb490
1 changed files with 2 additions and 1 deletions
|
@ -1134,7 +1134,6 @@ impl<'a> Stmt<'a> {
|
|||
|
||||
alloc.intersperse(
|
||||
vec![
|
||||
remainder.to_doc(alloc),
|
||||
alloc
|
||||
.text("joinpoint ")
|
||||
.append(join_point_to_doc(alloc, *id))
|
||||
|
@ -1142,6 +1141,8 @@ impl<'a> Stmt<'a> {
|
|||
.append(alloc.intersperse(it, alloc.space()))
|
||||
.append(":"),
|
||||
continuation.to_doc(alloc).indent(4),
|
||||
alloc.text("in"),
|
||||
remainder.to_doc(alloc),
|
||||
],
|
||||
alloc.hardline(),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue