diff options
author | Ian Lynagh <igloo@earth.li> | 2009-02-13 18:56:35 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-02-13 18:56:35 +0000 |
commit | b5bb34f029d3f68d966c0b9ed79305e3d9aac98c (patch) | |
tree | 611296392c1cb9c69b44e42341c5e08a6452e0e6 | |
parent | 43d01ce6e6b2bcc4211ee350eb11dec926e38964 (diff) | |
download | haskell-b5bb34f029d3f68d966c0b9ed79305e3d9aac98c.tar.gz |
Put RelaxedPolyRec in the cabal file rather than a pragma
This should fix the build with GHC 6.6
-rw-r--r-- | compiler/ghc.cabal.in | 2 | ||||
-rw-r--r-- | compiler/typecheck/TcHsType.lhs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 041fae3140..a59649e7f7 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 b29dc9a120..2482da2cbe 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, |