From c5490780ca410b38c4253534038332de71aa0dfb Mon Sep 17 00:00:00 2001 From: John Date: Sat, 22 Jun 2024 09:21:30 -0500 Subject: [PATCH] boy-debug: Actually visit the source operand (whoops) --- boy-debug/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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