From 1074adb9e7112e2599d658a5f0a7d8f77df68872 Mon Sep 17 00:00:00 2001 From: Breval Ferrari Date: Fri, 30 May 2025 10:45:39 +0200 Subject: [PATCH] remove test version of Context.eval_with() --- src/compiler.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/compiler.rs b/src/compiler.rs index 816b982..71556ce 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -355,7 +355,6 @@ impl Context { ) } - #[cfg(not(test))] pub fn eval_with( &self, Expression { @@ -368,21 +367,6 @@ impl Context { instruction.eval(slab, ns) } - #[cfg(test)] - pub fn eval_with( - &self, - Expression { - from, - instruction, - slab, - }: &Expression, - ns: &mut (impl EvalNamespace + Debug), - ) -> Result { - let result = instruction.eval(slab, ns)?; - println!("expression {from}\twith values {ns:?}\t equals {result}"); - Ok(result) - } - pub fn render(&mut self, n: Option) -> Result, CompilerError> { let curr_t = *self.get('t')?; if let Some(note) = n {