From a95a676cb247b4a0a52fcf8d2a6d692b36fe1999 Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Sat, 28 Feb 2026 18:41:02 +0300 Subject: [PATCH] scope_analysis: small logic fix --- lib/compiler/scope_analysis.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler/scope_analysis.ml b/lib/compiler/scope_analysis.ml index 3d37a18..b825aad 100644 --- a/lib/compiler/scope_analysis.ml +++ b/lib/compiler/scope_analysis.ml @@ -133,4 +133,4 @@ let convert program = | (Define (s, e)) :: rest -> let tbl = SymbolTable.add s (id ()) tbl in (analyze tbl [] e) :: (aux tbl rest) - in aux SymbolTable.empty program + in traverse (fun x -> x) (aux SymbolTable.empty program)