diff --git a/boy-debug/src/lib.rs b/boy-debug/src/lib.rs index 777087a..0eb1ecd 100644 --- a/boy-debug/src/lib.rs +++ b/boy-debug/src/lib.rs @@ -555,7 +555,7 @@ pub mod ast { impl Stmt { pub fn visit(&mut self, f: &impl Fn(&mut Expr)) { self.dst.visit(f); - self.dst.visit(f); + self.src.visit(f); } /// Solves the statement arguments using the provided solver