From 6a03f125a53c4bfc09631cf45c6841af98ccc7b7 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, ";")?;