Skip to content

Comments can affect the formatting behaviour in unintentional ways #16

@garyb

Description

@garyb
module Main where

changeDialog = do
  -- oh noes
  { x } ← H.get
  pure unit

The presence of the comment reformats the record destructuring like this:

module Main where

changeDialog = do
  -- oh noes
  { x
  } ← H.get
  pure unit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions