X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fiface%2FIfaceEnv.lhs;h=5dcab1e73ee9e093a2a3a0a1af42e27be462b688;hb=a08b4f85df5fbebc237bb7798cabe3812500e921;hp=ecfd2bc5bc03efed3c07c8acec33c84c25a893ab;hpb=fbb4683ec21a94a9614191db5d1bf458b489b6c7;p=ghc-hetmet.git diff --git a/compiler/iface/IfaceEnv.lhs b/compiler/iface/IfaceEnv.lhs index ecfd2bc..5dcab1e 100644 --- a/compiler/iface/IfaceEnv.lhs +++ b/compiler/iface/IfaceEnv.lhs @@ -193,7 +193,8 @@ newIPName occ_name_ip = do \begin{code} lookupOrigNameCache :: OrigNameCache -> Module -> OccName -> Maybe Name lookupOrigNameCache _ mod occ - | mod == dATA_TUP || mod == gHC_PRIM, -- Boxed tuples from one, + -- XXX Why is gHC_UNIT not mentioned here? + | mod == gHC_TUPLE || mod == gHC_PRIM, -- Boxed tuples from one, Just tup_info <- isTupleOcc_maybe occ -- unboxed from the other = -- Special case for tuples; there are too many -- of them to pre-populate the original-name cache