mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 12:04:21 +01:00
rewrite unary expressions too - in order to support "NOT FALSE" expressions
This commit is contained in:
@@ -675,6 +675,10 @@ fn rewrite_expr(expr: &mut ast::Expr) -> Result<()> {
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
ast::Expr::Unary(_, arg) => {
|
||||
rewrite_expr(arg)?;
|
||||
Ok(())
|
||||
}
|
||||
_ => Ok(()),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user