mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
parent
9bd7a9c484
commit
34fff56462
@ -89,4 +89,13 @@ obj["var"] = "isKeyword";"#
|
||||
"const number = foo[bar1][baz1]",
|
||||
"const number = foo[bar1][baz1]"
|
||||
);
|
||||
|
||||
test!(
|
||||
::swc_ecma_parser::Syntax::default(),
|
||||
|_| MemberExprLit,
|
||||
issue_211,
|
||||
"_query[idx]=$this.attr('data-ref');",
|
||||
"_query[idx]=$this.attr('data-ref');"
|
||||
);
|
||||
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
pass::Pass,
|
||||
util::{ExprExt, ExprFactory, State},
|
||||
util::{ExprFactory, State},
|
||||
};
|
||||
use ast::*;
|
||||
use swc_common::{
|
||||
|
Loading…
Reference in New Issue
Block a user