diff --git a/brittany.cabal b/brittany.cabal index b257bd3..969b882 100644 --- a/brittany.cabal +++ b/brittany.cabal @@ -85,7 +85,6 @@ library { } ghc-options: { -Weverything - -Wno-incomplete-record-updates -Wno-incomplete-uni-patterns -Wno-missing-deriving-strategies -Wno-missing-export-lists diff --git a/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs b/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs index 47a9514..f068b6c 100644 --- a/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs +++ b/src/Language/Haskell/Brittany/Internal/Layouters/Decl.hs @@ -863,7 +863,7 @@ layoutClsInst lcid@(L _ cid) = docLines . removeChildren <$> lcid - removeChildren :: ClsInstDecl p -> ClsInstDecl p + removeChildren :: ClsInstDecl GhcPs -> ClsInstDecl GhcPs removeChildren c = c { cid_binds = emptyBag , cid_sigs = []