Plugin loading is incorrectly memoized #13235
Labels
area:api
Issues with Prettier's Application Programming Interface
area:plugin api
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
Environments:
Steps to reproduce:
The problem is here:
prettier/src/common/load-plugins.js
Line 13 in 2c77149
Both plugins are serialized to the same string by
JSON.stringify
.Expected output:
1 2
Actual output:
1 1
The text was updated successfully, but these errors were encountered: