Misplaced where clause #26

Closed
opened 2017-05-02 12:53:09 +02:00 by sergv · 1 comment
sergv commented 2017-05-02 12:53:09 +02:00 (Migrated from github.com)

The following input has where block positioned way off after indentation with indent step 2 and 80 columns.

Input:

foo :: a ->b->c
foo a b = g a b -- fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
 where
  g a b = b + b * a

Current output:

foo :: a -> b -> c
foo a b = g a b -- fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
                where g a b = b + b * a

I'd expect at least something like:

foo :: a -> b -> c
foo a b = g a b -- fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
  where g a b = b + b * a
The following input has `where` block positioned way off after indentation with indent step 2 and 80 columns. Input: ```haskell foo :: a ->b->c foo a b = g a b -- fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo where g a b = b + b * a ``` Current output: ```haskell foo :: a -> b -> c foo a b = g a b -- fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo where g a b = b + b * a ``` I'd expect at least something like: ```haskell foo :: a -> b -> c foo a b = g a b -- fooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo where g a b = b + b * a ```
lspitzner commented 2017-05-02 17:19:10 +02:00 (Migrated from github.com)

thanks for reporting

thanks for reporting
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#26
There is no content yet.