From 825e65d7a305296486d91e1cb7916b9158897691 Mon Sep 17 00:00:00 2001 From: microproofs Date: Wed, 6 Dec 2023 10:31:48 -0500 Subject: [PATCH] fix: zero arg functions were being compiled without the trace messages Now traces are added before evaluating --- crates/aiken-lang/src/gen_uplc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aiken-lang/src/gen_uplc.rs b/crates/aiken-lang/src/gen_uplc.rs index 23ee3c2f..fce35ef6 100644 --- a/crates/aiken-lang/src/gen_uplc.rs +++ b/crates/aiken-lang/src/gen_uplc.rs @@ -3968,7 +3968,7 @@ impl<'a> CodeGenerator<'a> { let mut program: Program = Program { version: (1, 0, 0), - term, + term: self.special_functions.apply_used_functions(term), }; let mut interner = Interner::new();