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

Improve comment attachment when followed but not preceded by a linebreak #1926

Merged
merged 4 commits into from
Nov 26, 2021

Conversation

gpetiot
Copy link
Collaborator

@gpetiot gpetiot commented Nov 16, 2021

Fix #1925, this is a cheap fix that only makes Cmts.ml dirtier, but it allows to fix this for 0.20.0, as a bigger rework looks out of scope.
No diff with test_branch.sh

Copy link
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment on the code, otherwise looks good :)

lib/Cmts.ml Show resolved Hide resolved
@gpetiot gpetiot force-pushed the fix-cmts-after-itm-before-linebreak branch from e5af08a to 626344d Compare November 26, 2021 10:38
@gpetiot gpetiot merged commit d3e7b5b into ocaml-ppx:main Nov 26, 2021
@gpetiot gpetiot deleted the fix-cmts-after-itm-before-linebreak branch November 26, 2021 11:10
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.

Bug: Inconsistent spacing between comments and docstrings
3 participants