From: sof Date: Thu, 5 Jun 1997 09:40:45 +0000 (+0000) Subject: [project @ 1997-06-05 09:40:45 by sof] X-Git-Tag: Approximately_1000_patches_recorded~421 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=af44da0a899ce61ff1158905a5f26f1fbd81fb9a;p=ghc-hetmet.git [project @ 1997-06-05 09:40:45 by sof] Do not use loop breaker modules with 2.0x --- diff --git a/ghc/compiler/typecheck/TcMonad.lhs b/ghc/compiler/typecheck/TcMonad.lhs index 0441941..d1b7a27 100644 --- a/ghc/compiler/typecheck/TcMonad.lhs +++ b/ghc/compiler/typecheck/TcMonad.lhs @@ -45,7 +45,12 @@ module TcMonad( IMP_Ubiq(){-uitous-} +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(TcMLoop) ( TcEnv, initEnv, TcMaybe ) -- We need the type TcEnv and an initial Env +#else +import {-# SOURCE #-} TcEnv ( TcEnv, initEnv ) +import {-# SOURCE #-} TcType ( TcMaybe ) +#endif import Type ( SYN_IE(Type), GenType ) import TyVar ( SYN_IE(TyVar), GenTyVar )