Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Fix printing of trailing comments on constructor part of Ppat_construct. #378

Merged
merged 1 commit into from
Apr 10, 2021

Conversation

IwanKaramazow
Copy link
Contributor

Fixes #374

These comments should print correct:

switch a {
| Constr /* after constr */
| Constr /* after constr */ (a, _) => a
}

Fixes #374

These comments should print correct:
```rescript
switch a {
| Constr /* after constr */
| Constr /* after constr */ (a, _) => a
}
```
@IwanKaramazow IwanKaramazow merged commit 4138c36 into master Apr 10, 2021
@IwanKaramazow IwanKaramazow deleted the gh374 branch April 10, 2021 10:45
IwanKaramazow added a commit that referenced this pull request Apr 10, 2021
…ct. (#378)

Fixes #374

These comments should print correct:
```rescript
switch a {
| Constr /* after constr */
| Constr /* after constr */ (a, _) => a
}
```

Co-authored-by: Iwan <mvalcke@hubspot.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comment lost on constructor with tuple payload
1 participant