From: Ian Lynagh Date: Fri, 13 Feb 2009 18:56:35 +0000 (+0000) Subject: Put RelaxedPolyRec in the cabal file rather than a pragma X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b5bb34f029d3f68d966c0b9ed79305e3d9aac98c Put RelaxedPolyRec in the cabal file rather than a pragma This should fix the build with GHC 6.6 --- 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,