-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow end-of-line comments #162
Comments
yep, the goal is to get the uid field and comment to all stay on one line. |
Initial attempt implemented in a495484...07afe63 What other places in the syntax do end-of-line comments need to be handled? |
Implemented for union type declarations in 080cb9a...f9e2f8c |
Implemented for binary operators, function types, and cons patterns in 515ca02...3532eb6 |
I'm still debating whether it's good to allow this in all the places I added it for... For instance, having end-of-line comments after items in a list literal: is that a place where we should instead be encouraging refactoring? In any case, all the TODOs for this have been implemented. Marking as resolved. |
A
--
comment at the end of a line should be attached to the preceding token instead of to the subsequent token.Tag --z\n a --x\n b --y\n
)The text was updated successfully, but these errors were encountered: