mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
feat(prettier): wrap BindingIdentifier (#1581)
This commit is contained in:
parent
e6f85a9a62
commit
405d1228a0
2 changed files with 2 additions and 3 deletions
|
|
@ -1233,7 +1233,7 @@ impl<'a> Format<'a> for IdentifierName {
|
|||
|
||||
impl<'a> Format<'a> for BindingIdentifier {
|
||||
fn format(&self, p: &mut Prettier<'a>) -> Doc<'a> {
|
||||
p.str(self.name.as_str())
|
||||
wrap!(p, self, BindingIdentifier, { p.str(self.name.as_str()) })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Compatibility: 198/578 (34.26%)
|
||||
Compatibility: 199/578 (34.43%)
|
||||
|
||||
# Failed
|
||||
|
||||
|
|
@ -307,7 +307,6 @@ Compatibility: 198/578 (34.26%)
|
|||
|
||||
### import
|
||||
* import/comments.js
|
||||
* import/same-local-and-imported.js
|
||||
|
||||
### label
|
||||
* label/comment.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue