This commit is contained in:
mlokr 2024-07-19 13:09:45 +02:00
parent 2e0db7120b
commit b4da65705f

View file

@ -992,7 +992,6 @@ impl<'a> std::fmt::Display for Expr<'a> {
display_branch(f, right)?; display_branch(f, right)?;
if matches!(op, TokenKind::Decl | TokenKind::Assign) if matches!(op, TokenKind::Decl | TokenKind::Assign)
&& INDENT.with(|idnf| idnf.get()) == 0
&& !matches!(right, Self::Closure { .. }) && !matches!(right, Self::Closure { .. })
{ {
write!(f, ";")?; write!(f, ";")?;