From d69800e0d9fd66e4a20f03e9d9e68f38b471c94c Mon Sep 17 00:00:00 2001 From: mlokr Date: Fri, 19 Jul 2024 13:03:11 +0200 Subject: [PATCH] h --- hblang/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblang/src/parser.rs b/hblang/src/parser.rs index 42caaf7..5e00a92 100644 --- a/hblang/src/parser.rs +++ b/hblang/src/parser.rs @@ -992,7 +992,7 @@ impl<'a> std::fmt::Display for Expr<'a> { display_branch(f, right)?; if matches!(op, TokenKind::Decl | TokenKind::Assign) - && INDENT.with(|idnf| !idnf.get()) == 0 + && INDENT.with(|idnf| idnf.get()) == 0 && !matches!(right, Self::Closure { .. }) { write!(f, ";")?;