diff --git a/ecmascript/ast/Cargo.toml b/ecmascript/ast/Cargo.toml index a82b5fe1e60..cb1eb7f59d4 100644 --- a/ecmascript/ast/Cargo.toml +++ b/ecmascript/ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swc_ecma_ast" -version = "0.23.0" +version = "0.23.1" authors = ["강동윤 "] license = "Apache-2.0/MIT" repository = "https://github.com/swc-project/swc.git" diff --git a/ecmascript/ast/src/prop.rs b/ecmascript/ast/src/prop.rs index 909409d098b..24a21e9682b 100644 --- a/ecmascript/ast/src/prop.rs +++ b/ecmascript/ast/src/prop.rs @@ -75,11 +75,10 @@ pub struct SetterProp { #[ast_node("MethodProperty")] #[derive(Eq, Hash)] pub struct MethodProp { - #[span(lo)] pub key: PropName, #[serde(flatten)] - #[span(hi)] + #[span] pub function: Function, }