From b5bb34f029d3f68d966c0b9ed79305e3d9aac98c Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 13 Feb 2009 18:56:35 +0000 Subject: [PATCH] Put RelaxedPolyRec in the cabal file rather than a pragma This should fix the build with GHC 6.6 --- compiler/ghc.cabal.in | 2 +- compiler/typecheck/TcHsType.lhs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 041fae3..a59649e 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -93,7 +93,7 @@ Library ForeignFunctionInterface, EmptyDataDecls, TypeSynonymInstances, MultiParamTypeClasses, FlexibleInstances, Rank2Types, ScopedTypeVariables, - DeriveDataTypeable + DeriveDataTypeable, RelaxedPolyRec Include-Dirs: . parser utils diff --git a/compiler/typecheck/TcHsType.lhs b/compiler/typecheck/TcHsType.lhs index b29dc9a..2482da2 100644 --- a/compiler/typecheck/TcHsType.lhs +++ b/compiler/typecheck/TcHsType.lhs @@ -5,8 +5,6 @@ \section[TcMonoType]{Typechecking user-specified @MonoTypes@} \begin{code} -{-# LANGUAGE RelaxedPolyRec #-} - module TcHsType ( tcHsSigType, tcHsDeriv, tcHsInstHead, tcHsQuantifiedType, -- 1.7.10.4