Unify parens printing for postfix-like expressions (#11382)
* Unify parens printing for postfix exprs: (), [...], ! * Also move template tags handling * Add tagged template test * isPostfixExpression -> hasPostfixPart
This commit is contained in:
@@ -15,5 +15,5 @@ async function g() {
|
||||
F: A,
|
||||
d: []
|
||||
};
|
||||
}, (await B));
|
||||
}, await B);
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@ function* g() {
|
||||
F: A,
|
||||
d: []
|
||||
};
|
||||
}, (yield B));
|
||||
}, yield B);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user