fix(codegen): remove redundant semicolon in PropertyDefinition (#2511)

This commit is contained in:
Dunqing 2024-02-26 15:15:19 +08:00 committed by GitHub
parent f66fb886b3
commit 432791679f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2283,7 +2283,6 @@ impl<'a, const MINIFY: bool> Gen<MINIFY> for PropertyDefinition<'a> {
p.print_equal();
value.gen_expr(p, Precedence::Assign, Context::default());
}
p.print_semicolon_after_statement();
}
}