Skip to content

Revisit parsing of attributes, and printing for functions. #5735

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

Closed
cristianoc opened this issue Oct 15, 2022 · 0 comments
Closed

Revisit parsing of attributes, and printing for functions. #5735

cristianoc opened this issue Oct 15, 2022 · 0 comments
Milestone

Comments

@cristianoc
Copy link
Collaborator

Context: rescript-lang/syntax#680

  • During parsing, attributes outside ( ) would be added to the function, and inside (...) to the pattern. Parsing async adds @res.async to function, and uncurried (. ...) also adds the attribute to the function.
  • Printing can be simplified.
  • Need checking that this does not break existing code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant