diff --git a/crates/oxc_transformer/src/react/refresh.rs b/crates/oxc_transformer/src/react/refresh.rs index 82bd8fe4c6aaa..1e025236ae834 100644 --- a/crates/oxc_transformer/src/react/refresh.rs +++ b/crates/oxc_transformer/src/react/refresh.rs @@ -7,7 +7,7 @@ use oxc_ast::{ use oxc_semantic::{ReferenceFlag, ScopeFlags, ScopeId, SymbolFlags, SymbolId}; use oxc_span::{Atom, GetSpan, Span, SPAN}; use oxc_syntax::operator::AssignmentOperator; -use oxc_traverse::TraverseCtx; +use oxc_traverse::{Ancestor, TraverseCtx}; use super::options::ReactRefreshOptions; diff --git a/tasks/transform_conformance/oxc.snap.md b/tasks/transform_conformance/oxc.snap.md index 204c344e08b1e..f7e2a66f305e7 100644 --- a/tasks/transform_conformance/oxc.snap.md +++ b/tasks/transform_conformance/oxc.snap.md @@ -1,18 +1,6 @@ commit: 12619ffe -<<<<<<< HEAD -<<<<<<< HEAD -<<<<<<< HEAD -Passed: 22/34 -======= -Passed: 24/34 ->>>>>>> 076acf8a1 (transform FunctionExpression and ArrowFunctionExpression) -======= -Passed: 26/34 ->>>>>>> 258707b9d (handles custom hooks correctly) -======= -Passed: 27/34 ->>>>>>> e3fa84ee3 (transform CallExpression with ArrowFunctionExpression/FunctionExpression) +Passed: 28/35 # All Passed: * babel-plugin-transform-optional-catch-binding