Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Apr 10, 2024
1 parent 0f06248 commit 88e459a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/emit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Emitter {

pub fn emit(
&self,
program: Program,
program: &Program,
comments: SingleThreadedComments,
) -> Result<EmittedSource> {
let mut src_map_buf = vec![];
Expand Down
2 changes: 1 addition & 1 deletion src/transpiling/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ impl ParsedSource {
)
})?;

emitter.emit(program, comments)
emitter.emit(&program, comments)
}
}

Expand Down

0 comments on commit 88e459a

Please sign in to comment.