diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml index 84339218a46..43fadaa53d2 100644 --- a/ecmascript/codegen/Cargo.toml +++ b/ecmascript/codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swc_ecma_codegen" -version = "0.28.1" +version = "0.28.2" authors = ["강동윤 "] license = "Apache-2.0/MIT" repository = "https://github.com/swc-project/swc.git" diff --git a/ecmascript/codegen/src/lib.rs b/ecmascript/codegen/src/lib.rs index ec9ad824772..35cb8070eca 100644 --- a/ecmascript/codegen/src/lib.rs +++ b/ecmascript/codegen/src/lib.rs @@ -894,7 +894,7 @@ impl<'a> Emitter<'a> { fn emit_private_prop(&mut self, n: &PrivateProp) -> Result { self.emit_leading_comments_of_pos(n.span().lo())?; - self.emit_list(n.span, Some(&n.decorators), ListFormat::Decorators); + self.emit_list(n.span, Some(&n.decorators), ListFormat::Decorators)?; self.emit_accesibility(n.accessibility)?;