Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer committed Oct 17, 2024
1 parent e4ddc02 commit 41e6060
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/callable/primitive/substitute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -111,7 +114,10 @@ impl Callable for PrimitiveSubstitute {
recurse(exprs, env, false),
),
},
other => other,
other => {
println!("HALLO");
other
}
}
}

Expand Down

0 comments on commit 41e6060

Please sign in to comment.