Skip to content

Commit

Permalink
fix missing Ancestor
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Aug 15, 2024
1 parent 141c47c commit 1f5016a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion crates/oxc_transformer/src/react/refresh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
14 changes: 1 addition & 13 deletions tasks/transform_conformance/oxc.snap.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1f5016a

Please sign in to comment.