From fd805cb2cefcaeecfbf6af2d483c891cda2de645 Mon Sep 17 00:00:00 2001 From: Windel Bouwman Date: Sun, 2 Sep 2018 12:18:03 +0200 Subject: [PATCH] Fix unittest --- vm/src/compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/src/compile.rs b/vm/src/compile.rs index 9a9c1d16b..3208f9700 100644 --- a/vm/src/compile.rs +++ b/vm/src/compile.rs @@ -841,7 +841,7 @@ mod tests { use super::Compiler; fn compile_exec(source: &str) -> CodeObject { let mut compiler = Compiler::new(); - compiler.push_new_code_object(Option::None); + compiler.push_new_code_object(Option::None, "".to_string()); let ast = parser::parse_program(&source.to_string()).unwrap(); compiler.compile_program(&ast); compiler.pop_code_object()