353 B
353 B
Fix inconsistent comment attach between NewExpression and CallExpression (#18669 by @fisker)
// Input
foo( // comment
bar
);
new Foo( // comment
bar
);
// Prettier stable
foo(
// comment
bar,
);
new Foo(bar); // comment
// Prettier main
foo(
// comment
bar,
);
new Foo(
// comment
bar,
);