We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3a95c commit fd805cbCopy full SHA for fd805cb
vm/src/compile.rs
@@ -841,7 +841,7 @@ mod tests {
841
use super::Compiler;
842
fn compile_exec(source: &str) -> CodeObject {
843
let mut compiler = Compiler::new();
844
- compiler.push_new_code_object(Option::None);
+ compiler.push_new_code_object(Option::None, "<module>".to_string());
845
let ast = parser::parse_program(&source.to_string()).unwrap();
846
compiler.compile_program(&ast);
847
compiler.pop_code_object()
0 commit comments