[Git][ghc/ghc][wip/tyconapp-opts] Fix it

Ben Gamari gitlab at gitlab.haskell.org
Thu Mar 26 02:33:59 UTC 2020



Ben Gamari pushed to branch wip/tyconapp-opts at Glasgow Haskell Compiler / GHC


Commits:
e4eba425 by Ben Gamari at 2020-03-25T22:33:52-04:00
Fix it

- - - - -


1 changed file:

- compiler/prelude/TysWiredIn.hs


Changes:

=====================================
compiler/prelude/TysWiredIn.hs
=====================================
@@ -1179,8 +1179,8 @@ runtimeRepTy = mkTyConTy runtimeRepTyCon
 -- type Type = tYPE 'LiftedRep
 liftedTypeKindTyCon :: TyCon
 liftedTypeKindTyCon   = buildSynTyCon liftedTypeKindTyConName
-                                       [] liftedTypeKind []
-                                       (tYPE liftedRepTy)
+                                       [] liftedTypeKind [] rhs
+  where rhs = TyCoRep.TyConApp tYPETyCon [liftedRepTy]
 
 runtimeRepTyCon :: TyCon
 runtimeRepTyCon = pcTyCon runtimeRepTyConName Nothing []



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e4eba42556fa47d2514ea25aae1f20ca0c47fc3c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e4eba42556fa47d2514ea25aae1f20ca0c47fc3c
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200325/5bc88e0c/attachment.html>


More information about the ghc-commits mailing list