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

Broken indentation within extension point when used with include #2555

Open
alex35mil opened this issue Mar 27, 2020 · 0 comments
Open

Broken indentation within extension point when used with include #2555

alex35mil opened this issue Mar 27, 2020 · 0 comments
Labels
Printer things that have to do with turning an AST into Reason code

Comments

@alex35mil
Copy link

Expected:

include [%form
  type input = {name: string};
  let validators = {
    name: {
      strategy: OnSubmit,
      validate: ({name}) => Ok(name),
    },
  }
];

Actual:

include [%form
          type input = {name: string};
          let validators = {
            name: {
              strategy: OnSubmit,
              validate: ({name}) => Ok(name),
            },
          }
        ];
@alex35mil alex35mil changed the title Broken indentation within extension point Broken indentation within extension point when used with include Mar 27, 2020
@davesnx davesnx added the Printer things that have to do with turning an AST into Reason code label Nov 16, 2022
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

No branches or pull requests

2 participants