X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fiface%2FMkIface.lhs;h=cca8ab57d71f06a1892712994df91a1c5a4168a2;hp=811af49947157fde2727b2d660181b4e7e8ae5aa;hb=6777144f7522d8db5935737e12fa451ca3211e6d;hpb=098f818b622e5095fbd3f6318a463fcb2ce14fc6 diff --git a/compiler/iface/MkIface.lhs b/compiler/iface/MkIface.lhs index 811af49..cca8ab5 100644 --- a/compiler/iface/MkIface.lhs +++ b/compiler/iface/MkIface.lhs @@ -1100,8 +1100,7 @@ tyThingToIfaceDecl (ATyCon tycon) IfNewTyCon (ifaceConDecl con) ifaceConDecls (DataTyCon { data_cons = cons }) = IfDataTyCon (map ifaceConDecl cons) - ifaceConDecls OpenTyCon { otIsNewtype = False } = IfOpenDataTyCon - ifaceConDecls OpenTyCon { otIsNewtype = True } = IfOpenNewTyCon + ifaceConDecls OpenTyCon {} = IfOpenDataTyCon ifaceConDecls AbstractTyCon = IfAbstractTyCon -- The last case happens when a TyCon has been trimmed during tidying -- Furthermore, tyThingToIfaceDecl is also used