270 B
270 B
Fix placing leading comments for a body of while statement (#9345 by @sosukesuzuki)
// Input
while(1) // Comment
foo();
// Prettier stable
while (
1 // Comment
)
foo();
// Prettier master
while (1)
// Comment
foo();