-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Use of nested decorators breaks #5777
Copy link
Copy link
Labels
difficulty:easyIssues that should be easy to fix. Resolve me on the train to work!Issues that should be easy to fix. Resolve me on the train to work!lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Milestone
Metadata
Metadata
Assignees
Labels
difficulty:easyIssues that should be easy to fix. Resolve me on the train to work!Issues that should be easy to fix. Resolve me on the train to work!lang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!Code is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!Issues with an accompanying pull request. These issues will probably be fixed soon!
Prettier 1.16.0
Playground link
Input:
Output:
Which is wrong and results in a JS exception in the application :(