Skip to content

Commit

Permalink
Remove ctxt field from SwcSpan
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jul 22, 2024
1 parent 2910f74 commit 4136bba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backends/src/ts/mocha/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use std::{
};
use subprocess::{Exec, NullFile};
use swc_core::{
common::{BytePos, Loc, SourceMap, Span as SwcSpan, Spanned as SwcSpanned, SyntaxContext},
common::{BytePos, Loc, SourceMap, Span as SwcSpan, Spanned as SwcSpanned},
ecma::{
ast::{
ArrowExpr, AwaitExpr, BlockStmtOrExpr, CallExpr, Callee, EsVersion, Expr, ExprStmt,
Expand All @@ -43,7 +43,6 @@ static INVALID: Expr = Expr::Invalid(Invalid {
span: SwcSpan {
lo: BytePos(0),
hi: BytePos(0),
ctxt: SyntaxContext::empty(),
},
});

Expand Down

0 comments on commit 4136bba

Please # to comment.