Input:
module M where
-- | A
-- B
type D = E
Output:
module M where
-- | A
type -- B
D = E
Error:
Parsing of formatted code failed:
<input><rendered>:5:1
parse error (possibly incorrect indentation or mismatched brackets)
Please, consider reporting the bug.
And with data, it's indented correctly:
module M where
-- | A
data -- B
D = E
Input:
Output:
Error:
And with
data, it's indented correctly: