Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 16, 2025
1 parent fcd5e50 commit 7c72480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions turbopack/crates/turbopack-ecmascript/src/analyzer/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1876,7 +1876,7 @@ impl VisitAstPath for Analyzer<'_> {
})
} else if is_unresolved(ident, self.eval_context.unresolved_mark) {
self.add_effect(Effect::FreeVar {
var: JsValue::FreeVar(ident.sym.clone()),
var: Box::new(JsValue::FreeVar(ident.sym.clone())),
ast_path: as_parent_path(ast_path),
span: ident.span(),
in_try: is_in_try(ast_path),
Expand Down Expand Up @@ -2218,7 +2218,7 @@ impl Analyzer<'_> {
span: Span,
mut cond_kind: ConditionalKind,
) {
let condition = self.eval_context.eval(test);
let condition = Box::new(self.eval_context.eval(test));
if condition.is_unknown() {
match &mut cond_kind {
ConditionalKind::If { then } => {
Expand Down

0 comments on commit 7c72480

Please sign in to comment.