From cfa89149b55837f822ba619b797781813fdcdabc Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Sun, 12 Jul 2020 22:08:10 +0200 Subject: Define type Void# = (# #) (#18441) There's one backwards compatibility issue: GHC.Prim no longer exports Void#, we now manually re-export it from GHC.Exts. --- utils/genprimopcode/Main.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'utils/genprimopcode') diff --git a/utils/genprimopcode/Main.hs b/utils/genprimopcode/Main.hs index 3fe744fec3..004199a9a4 100644 --- a/utils/genprimopcode/Main.hs +++ b/utils/genprimopcode/Main.hs @@ -923,8 +923,6 @@ ppType (TyApp (TyCon "IOPort#") [x,y]) = "mkIOPortPrimTy " ++ ppType x ++ " " ++ ppType y ppType (TyApp (TyCon "TVar#") [x,y]) = "mkTVarPrimTy " ++ ppType x ++ " " ++ ppType y -ppType (TyApp (TyCon "Void#") []) = "voidPrimTy" - ppType (TyApp (VecTyCon _ pptc) []) = pptc ppType (TyUTup ts) = "(mkTupleTy Unboxed " -- cgit v1.2.1