From 41e6060403d007dbcc5a4460ad39baa504e61ec9 Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Thu, 17 Oct 2024 09:37:29 +0200 Subject: [PATCH] ... --- src/callable/primitive/substitute.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/callable/primitive/substitute.rs b/src/callable/primitive/substitute.rs index 89c96a9..073126c 100644 --- a/src/callable/primitive/substitute.rs +++ b/src/callable/primitive/substitute.rs @@ -55,9 +55,12 @@ impl Callable for PrimitiveSubstitute { return internal_err!(); }; + dbg!(&args); + let Obj::Promise(_, expr, _) = args.try_get_named("expr")? else { return internal_err!(); }; + println!("Wupsie"); fn recurse(exprs: ExprList, env: &Environment, paren: bool) -> ExprList { exprs @@ -111,7 +114,10 @@ impl Callable for PrimitiveSubstitute { recurse(exprs, env, false), ), }, - other => other, + other => { + println!("HALLO"); + other + } } }