Deal correctly with infix type constructors in GADT decls
[ghc-hetmet.git] / compiler / iface / IfaceEnv.lhs
index 3eceaa0..6699a75 100644 (file)
@@ -358,7 +358,7 @@ lookupHomePackage mod_name occ
 newIfaceName :: OccName -> IfL Name
 newIfaceName occ
   = do { uniq <- newUnique
-       ; return (mkInternalName uniq occ noSrcLoc) }
+       ; return $! mkInternalName uniq occ noSrcLoc }
 
 newIfaceNames :: [OccName] -> IfL [Name]
 newIfaceNames occs