This commit is contained in:
mlokr 2024-07-19 13:03:11 +02:00
parent 03aedb5d3f
commit 6a03f125a5
No known key found for this signature in database
GPG key ID: DEA147DDEE644993

View file

@ -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, ";")?;