[commit: ghc] wip/ttypeable: Fix hs-boot file (c56580f)

git at git.haskell.org git at git.haskell.org
Sun Jan 29 20:21:31 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/c56580f266b0f2637f36c3ba0a80d8aabce8d7a9/ghc

>---------------------------------------------------------------

commit c56580f266b0f2637f36c3ba0a80d8aabce8d7a9
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Jan 28 00:21:15 2017 -0500

    Fix hs-boot file


>---------------------------------------------------------------

c56580f266b0f2637f36c3ba0a80d8aabce8d7a9
 compiler/types/Type.hs-boot | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler/types/Type.hs-boot b/compiler/types/Type.hs-boot
index 5456dd7..9f0d653 100644
--- a/compiler/types/Type.hs-boot
+++ b/compiler/types/Type.hs-boot
@@ -2,6 +2,7 @@ module Type where
 import TyCon
 import Var ( TyVar )
 import {-# SOURCE #-} TyCoRep( Type, Kind )
+import Util
 
 isPredTy     :: Type -> Bool
 isCoercionTy :: Type -> Bool
@@ -20,4 +21,4 @@ coreView :: Type -> Maybe Type
 
 tyCoVarsOfTypesWellScoped :: [Type] -> [TyVar]
 
-splitTyConApp_maybe :: Type -> Maybe (TyCon, [Type])
\ No newline at end of file
+splitTyConApp_maybe :: HasCallStack => Type -> Maybe (TyCon, [Type])
\ No newline at end of file



More information about the ghc-commits mailing list