Skip to content

Commit f7b9a73

Browse files
committed
[core][rewriter] dpsc: fix nested computed gets
1 parent 4115c03 commit f7b9a73

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

rewriter/js/src/rewrite.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ impl<'alloc: 'data, 'data> Rewrite<'alloc, 'data> {
101101

102102
impl<'alloc: 'data, 'data> RewriteType<'alloc, 'data> {
103103
fn into_inner(self, span: Span) -> SmallVec<[JsChange<'alloc, 'data>; 2]> {
104-
105-
dbg!(&self);
106104
macro_rules! span {
107105
(start) => {
108106
Span::new(span.start, span.start)

rewriter/js/src/visitor.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -166,18 +166,6 @@ where
166166
// }
167167
}
168168

169-
match &it.object() {
170-
Expression::Identifier(_) => {
171-
return;
172-
}
173-
Expression::ThisExpression(_)=> {
174-
// this is safe, we don't need to walk it
175-
return;
176-
}
177-
_=>{}
178-
}
179-
180-
181169

182170
walk::walk_member_expression(self, it);
183171
}

0 commit comments

Comments
 (0)