From af44da0a899ce61ff1158905a5f26f1fbd81fb9a Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 5 Jun 1997 09:40:45 +0000 Subject: [PATCH] [project @ 1997-06-05 09:40:45 by sof] Do not use loop breaker modules with 2.0x --- ghc/compiler/typecheck/TcMonad.lhs | 5 +++++ 1 file changed, 5 insertions(+) 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 ) -- 1.7.10.4