Comment duplication with experimental ternaries #15875
Labels
area:comments
Issues with how Prettier prints comments
lang:javascript
Issues affecting JS
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 3.1.1
Playground link
Input:
Output:
Expected behavior:
Keep the comment in the output array, don't insert a new one above.
The text was updated successfully, but these errors were encountered: