This is one more part of #47. Also, unfortunately currently GADT formatting is slightly broken, even though brittany forwards GADT layouting to ghc-exactprint:
data Foo x where
A :: Int -> Foo Int
B :: Bool -> Foo Bool
-- is roundtripped to
data Foo x where
A ::Int -> Foo Int
B ::Bool -> Foo Bool
Which I guess is another context-sensitive bug in ghc-exactprint. Might depend on the ghc version used. Easiest fix probably is to
This is one more part of #47. Also, unfortunately currently GADT formatting is slightly broken, even though brittany forwards GADT layouting to
ghc-exactprint
:Which I guess is another context-sensitive bug in ghc-exactprint. Might depend on the ghc version used. Easiest fix probably is to