Skip to content

Commit cebecf6

Browse files
committed
reskip comments field
1 parent dd45e19 commit cebecf6

File tree

1 file changed

+0
-1
lines changed
  • crates/oxc_ast/src/serialize

1 file changed

+0
-1
lines changed

crates/oxc_ast/src/serialize/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ impl ESTree for ProgramConverter<'_, '_> {
181181
state.serialize_field("type", &JsonSafeString("Program"));
182182
state.serialize_field("body", &Concat2(&program.directives, &program.body));
183183
state.serialize_field("sourceType", &program.source_type.module_kind());
184-
state.serialize_field("comments", &program.comments);
185184
state.serialize_field("hashbang", &program.hashbang);
186185

187186
let span = if S::INCLUDE_TS_FIELDS {

0 commit comments

Comments
 (0)