Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module types with one line and attribute prints in one line instead of two #2697

Closed
davesnx opened this issue Mar 9, 2023 · 1 comment · Fixed by #2709
Closed

module types with one line and attribute prints in one line instead of two #2697

davesnx opened this issue Mar 9, 2023 · 1 comment · Fixed by #2709
Labels
Printer things that have to do with turning an AST into Reason code

Comments

@davesnx
Copy link
Member

davesnx commented Mar 9, 2023

module type FolderType = {
    [@react.component]
    let make: (~folder: folder, ~onClick: folder => unit) => React.element;
};
module type FolderType = {[@react.component]
                          let make: (~folder: folder, ~onClick: folder => unit) => React.element;
};
@davesnx davesnx added the Printer things that have to do with turning an AST into Reason code label Mar 9, 2023
@SanderSpies
Copy link
Contributor

  • when using -w 120.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Printer things that have to do with turning an AST into Reason code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants