mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
misc cleanup suggestions
This commit is contained in:
parent
b62c9667d5
commit
1f14aa84a2
4 changed files with 31 additions and 49 deletions
|
@ -62,9 +62,9 @@ impl<'a> Formattable for Expr<'a> {
|
|||
condition.is_multiline() || continuation.is_multiline()
|
||||
}
|
||||
Dbg(condition, continuation) => condition.is_multiline() || continuation.is_multiline(),
|
||||
LowLevelDbg(condition, continuation) => {
|
||||
condition.is_multiline() || continuation.is_multiline()
|
||||
}
|
||||
LowLevelDbg(_, _) => unreachable!(
|
||||
"LowLevelDbg should only exist after desugaring, not during formatting"
|
||||
),
|
||||
|
||||
If(branches, final_else) => {
|
||||
final_else.is_multiline()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue