Skip to content

Tidy doesn't respect comment indentation at the end of a block #102

Description

@wclr

In this example I would like to comment where clause (maybe to uncomment it later):

fn x = x*x
  -- where
  -- res = x*x

After formatting, such indented commented lines lose indentation:

fn x = x*x
-- where
-- res = x*x

If to uncomment on them there will be no indentation, this seems to be minor, though I think it should not happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions