end-of-line comment gets transported from "let" to "in" #110

Closed
opened 2018-01-16 18:34:49 +01:00 by chreekat · 0 comments
chreekat commented 2018-01-16 18:34:49 +01:00 (Migrated from github.com)
main =
    let x = 1 -- x
        y = 2 -- y
    in  do
            print x
            print y

becomes

main =
    let x = 1 -- x
        y = 2
    in  do
            print x
            print y -- y

using brittany version 0.9.0.0.

```haskell main = let x = 1 -- x y = 2 -- y in do print x print y ``` becomes ```haskell main = let x = 1 -- x y = 2 in do print x print y -- y ``` using brittany version 0.9.0.0.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hexagoxel/brittany#110
There is no content yet.