HAPPY CLIPPY IS HAPPY!!!!

This commit is contained in:
Emmanuel BENOîT 2023-01-02 21:44:02 +01:00
parent 36c842d7ab
commit db781ed00f
2 changed files with 8 additions and 8 deletions
src/interpreter

View file

@ -157,8 +157,8 @@ impl ast::StmtNode {
&self,
environment: &EnvironmentRef,
name: &Token,
params: &Vec<Token>,
body: &Vec<ast::StmtNode>,
params: &[Token],
body: &[ast::StmtNode],
) -> InterpreterResult {
let fun = Function::new(Some(name), params, body);
environment