1
0
Fork 0
forked from koniifer/ableos
This commit is contained in:
mlokr 2024-07-19 13:03:11 +02:00
parent cfd4fd8c24
commit d69800e0d9

View file

@ -992,7 +992,7 @@ 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 && INDENT.with(|idnf| idnf.get()) == 0
&& !matches!(right, Self::Closure { .. }) && !matches!(right, Self::Closure { .. })
{ {
write!(f, ";")?; write!(f, ";")?;