-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Regression for flow union #4323
Copy link
Copy link
Closed
Labels
lang:flowIssues affecting Flow-specific constructs (not general JS issues)Issues affecting Flow-specific constructs (not general JS issues)locked-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:facebook blockerIssues that block Facebook from upgrading Prettier. (Facebook is a major Prettier supporter)Issues that block Facebook from upgrading Prettier. (Facebook is a major Prettier supporter)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!
Metadata
Metadata
Assignees
Labels
lang:flowIssues affecting Flow-specific constructs (not general JS issues)Issues affecting Flow-specific constructs (not general JS issues)locked-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:facebook blockerIssues that block Facebook from upgrading Prettier. (Facebook is a major Prettier supporter)Issues that block Facebook from upgrading Prettier. (Facebook is a major Prettier supporter)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!
Prettier 1.12.0
Playground link
Input:
Output:
This is a regression from 1.9. It's blocking the release of 1.12 at Facebook. We should get it fixed and send a 1.12.1.