boy-debug: Actually visit the source operand (whoops)

This commit is contained in:
John 2024-06-22 09:21:30 -05:00
parent 3c0f1d82ca
commit c5490780ca

View File

@ -555,7 +555,7 @@ pub mod ast {
impl Stmt { impl Stmt {
pub fn visit(&mut self, f: &impl Fn(&mut Expr)) { pub fn visit(&mut self, f: &impl Fn(&mut Expr)) {
self.dst.visit(f); self.dst.visit(f);
self.dst.visit(f); self.src.visit(f);
} }
/// Solves the statement arguments using the provided solver /// Solves the statement arguments using the provided solver