From 3e537089094bf16e2c3ea5e1035bfdd3297085d2 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 5 Jun 1997 09:27:30 +0000 Subject: [PATCH] [project @ 1997-06-05 09:27:30 by sof] Do not use loop breaker modules with 2.0x --- ghc/compiler/types/PprType.lhs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/types/PprType.lhs b/ghc/compiler/types/PprType.lhs index 32ed141..6a2f827 100644 --- a/ghc/compiler/types/PprType.lhs +++ b/ghc/compiler/types/PprType.lhs @@ -25,8 +25,12 @@ module PprType( ) where IMP_Ubiq() +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ <= 201 IMPORT_DELOOPER(IdLoop) ---IMPORT_DELOOPER(TyLoop) -- for paranoia checking +#else +import {-# SOURCE #-} Id +#endif + -- friends: -- (PprType can see all the representations it's trying to print) -- 1.7.10.4