Skip to content

Conversation

@avh4
Copy link
Contributor

@avh4 avh4 commented Dec 1, 2022

  • retain comments in type parentheses
    • after opening paren
    • before closing paren
  • retain comments in function types
    • before arrow
    • after arrow
  • retain comments before each type argument
  • retain comments in union type declarations
    • between type keyword and name
    • before each argument
    • between last argument (or name) and =
    • between = or | and each variant
    • before each argument to a variant
    • between the end of a variant and the next |
    • after the last variant (indented)

@avh4 avh4 mentioned this pull request Dec 1, 2022
31 tasks
@robinheghan robinheghan merged commit 5b6bb45 into gren-lang:main Dec 1, 2022
@avh4 avh4 deleted the retain-comments/8-types branch December 1, 2022 18:25
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

Successfully merging this pull request may close these issues.

2 participants