mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
resolved issue 6188 and added some tests
This commit is contained in:
parent
5652d4ec18
commit
6a6d5cebc0
6 changed files with 41 additions and 7 deletions
|
@ -61,7 +61,7 @@ impl<'a> Formattable for Expr<'a> {
|
|||
Expect(condition, continuation) => {
|
||||
condition.is_multiline() || continuation.is_multiline()
|
||||
}
|
||||
Dbg(condition, continuation) => condition.is_multiline() || continuation.is_multiline(),
|
||||
Dbg(condition, _) => condition.is_multiline(),
|
||||
LowLevelDbg(_, _, _) => unreachable!(
|
||||
"LowLevelDbg should only exist after desugaring, not during formatting"
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue