mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +03:00
Fix span of MethodProp (#877)
- Fix span of MethodProp (needs to include async keyword). Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
This commit is contained in:
parent
135149d6a8
commit
d4ede122fc
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "swc_ecma_ast"
|
||||
version = "0.23.0"
|
||||
version = "0.23.1"
|
||||
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
|
||||
license = "Apache-2.0/MIT"
|
||||
repository = "https://github.com/swc-project/swc.git"
|
||||
|
@ -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,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user