Make sure record updates are complete

pull/357/head
Taylor Fausak 2021-11-06 17:40:55 +00:00 committed by GitHub
parent c02edecd1e
commit 2dced782b1
2 changed files with 1 additions and 2 deletions

View File

@ -85,7 +85,6 @@ library {
} }
ghc-options: { ghc-options: {
-Weverything -Weverything
-Wno-incomplete-record-updates
-Wno-incomplete-uni-patterns -Wno-incomplete-uni-patterns
-Wno-missing-deriving-strategies -Wno-missing-deriving-strategies
-Wno-missing-export-lists -Wno-missing-export-lists

View File

@ -863,7 +863,7 @@ layoutClsInst lcid@(L _ cid) = docLines
. removeChildren . removeChildren
<$> lcid <$> lcid
removeChildren :: ClsInstDecl p -> ClsInstDecl p removeChildren :: ClsInstDecl GhcPs -> ClsInstDecl GhcPs
removeChildren c = c removeChildren c = c
{ cid_binds = emptyBag { cid_binds = emptyBag
, cid_sigs = [] , cid_sigs = []