diff --git a/compiler/frontend/src/hir.rs b/compiler/frontend/src/hir.rs index eec5b4248..d4768e356 100644 --- a/compiler/frontend/src/hir.rs +++ b/compiler/frontend/src/hir.rs @@ -690,7 +690,11 @@ impl ToRichIr for Expression { pattern.build_rich_ir(builder); if let Some(condition) = condition { builder.push(", ", None, EnumSet::empty()); + builder.indent(); + builder.push_newline(); condition.build_rich_ir(builder); + builder.dedent(); + builder.push_newline(); } builder.push(" ->", None, EnumSet::empty()); builder.push_indented_foldable(|builder| {