-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Unstable binary expressions format #7746
Copy link
Copy link
Open
Labels
area:binary expressionsarea:commentsIssues with how Prettier prints commentsIssues with how Prettier prints commentsarea:idempotencyIssues with re-printing Prettier’s outputIssues with re-printing Prettier’s outputlang:javascriptIssues affecting JSIssues affecting JS
Metadata
Metadata
Assignees
Labels
area:binary expressionsarea:commentsIssues with how Prettier prints commentsIssues with how Prettier prints commentsarea:idempotencyIssues with re-printing Prettier’s outputIssues with re-printing Prettier’s outputlang:javascriptIssues affecting JSIssues affecting JS
Prettier 1.19.1
Playground link
Input:
Output:
Second Output:
Expected behavior:
Second output should not change
Issue found in #7565 , tests in file https://github.com/prettier/prettier/blob/next/tests/comments/return-statement.js