Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
488 B
488 B
Fix comment print for parenthesized callee (#18540 by @fisker)
// Input
const a = (
function(){}
/* comment for callee */
)(),
b = (
function(){}
)(/* comment for call */)
// Prettier stable
const a = (function () {})(),
/* comment for callee */
b = (function () {})(/* comment for call */);
// Prettier main
const a = (
function () {}
/* comment for callee */
)(),
b = (function () {})(/* comment for call */);