Put RelaxedPolyRec in the cabal file rather than a pragma
authorIan Lynagh <igloo@earth.li>
Fri, 13 Feb 2009 18:56:35 +0000 (18:56 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 13 Feb 2009 18:56:35 +0000 (18:56 +0000)
This should fix the build with GHC 6.6

compiler/ghc.cabal.in
compiler/typecheck/TcHsType.lhs

index 041fae3..a59649e 100644 (file)
@@ -93,7 +93,7 @@ Library
                 ForeignFunctionInterface, EmptyDataDecls,
                 TypeSynonymInstances, MultiParamTypeClasses,
                 FlexibleInstances, Rank2Types, ScopedTypeVariables,
-                DeriveDataTypeable
+                DeriveDataTypeable, RelaxedPolyRec
 
     Include-Dirs: . parser utils
 
index b29dc9a..2482da2 100644 (file)
@@ -5,8 +5,6 @@
 \section[TcMonoType]{Typechecking user-specified @MonoTypes@}
 
 \begin{code}
-{-# LANGUAGE RelaxedPolyRec #-}
-
 module TcHsType (
        tcHsSigType, tcHsDeriv, 
        tcHsInstHead, tcHsQuantifiedType,