hindent
hindent copied to clipboard
Silently removes constraints on GADTs with record fields
Problem
The constraints are lost when formatting with hindent.
- [x] I checked the issue tracker for existing issues about this problem.
- [x] I'm using the latest version of hindent.
Input haskell
data Test where
Test :: Eq a => { test :: a } -> Test
Expected output haskell
data Test where
Test :: Eq a => { test :: a } -> Test
Actual output haskell
data Test where
Test :: { test :: a} -> Test