Idris2-boot icon indicating copy to clipboard operation
Idris2-boot copied to clipboard

AddClause does not indent the clauses of an interface implementation

Open petithug opened this issue 4 years ago • 0 comments

When using AddClause on an interface implementation, the clause should be indented.

Steps to Reproduce

Loading the following in the REPL and executing ":ac 4 Show"

data Blah : Type where
  MkBlah : Blah

Show Blah where

Expected Behavior

data Blah : Type where
  MkBlah : Blah

Show Blah where
  showPrec d x = ?showPrec_rhs

Observed Behavior

data Blah : Type where
  MkBlah : Blah

Show Blah where
showPrec d x = ?showPrec_rhs

petithug avatar Mar 29 '20 18:03 petithug