From 642749db6d0a80228978d70640cf8f68744731d9 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 5 Jun 1997 09:31:00 +0000 Subject: [PATCH] [project @ 1997-06-05 09:31:00 by sof] Do not use loop breaker modules with 2.0x --- ghc/compiler/types/Class.lhs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ghc/compiler/types/Class.lhs b/ghc/compiler/types/Class.lhs index e123309..7fa1711 100644 --- a/ghc/compiler/types/Class.lhs +++ b/ghc/compiler/types/Class.lhs @@ -26,7 +26,14 @@ module Class ( CHK_Ubiq() -- debugging consistency check +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(TyLoop) +#else +import {-# SOURCE #-} Id +import {-# SOURCE #-} Type +import {-# SOURCE #-} TysWiredIn +import {-# SOURCE #-} TysPrim +#endif #if __GLASGOW_HASKELL__ >= 202 import Name -- 1.7.10.4