Skip to content

Commit 83a5a0c

Browse files
authoredNov 2, 2023
fix(es/compat): Handle private names from class properties pass (#8090)
**Related issue:** - Closes #7561 - vercel/next.js#56612
1 parent 407aa63 commit 83a5a0c

File tree

52 files changed

+2723
-1103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+2723
-1103
lines changed
 

‎Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎crates/swc/src/builder.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,10 @@ impl<'a, 'b, P: swc_ecma_visit::Fold> PassBuilder<'a, 'b, P> {
223223
set_public_fields: assumptions.set_public_class_fields,
224224
no_document_all: assumptions.no_document_all,
225225
static_blocks_mark: Mark::new(),
226+
pure_getter: assumptions.pure_getters,
226227
}
227-
}
228+
},
229+
self.unresolved_mark
228230
),
229231
should_enable(self.target, EsVersion::Es2022)
230232
),

0 commit comments

Comments
 (0)
Please sign in to comment.