Skip to content

Commit

Permalink
refactor: put CompilerError into boxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Feb 19, 2024
1 parent 1e57f49 commit 7b7b5ac
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 97 deletions.
2 changes: 1 addition & 1 deletion lib/src/compiler/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub enum Error {
ParseError(#[from] ParseError),

#[error(transparent)]
CompileError(#[from] CompileError),
CompileError(#[from] Box<CompileError>),

#[error(transparent)]
VariableError(#[from] VariableError),
Expand Down
Loading

0 comments on commit 7b7b5ac

Please sign in to comment.