Skip to content

Commit

Permalink
disable MonoLocalBinds as it conflicts with GADTs set outside
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
  • Loading branch information
trofi committed Nov 12, 2016
1 parent 241dfb9 commit f051a72
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cabal/Distribution/PackageDescription.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

-----------------------------------------------------------------------------
-- |
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/PackageDescription/Check.hs
@@ -1,3 +1,4 @@
{-# LANGUAGE NoMonoLocalBinds #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.PackageDescription.Check
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Simple/Configure.hs
Expand Up @@ -4,6 +4,7 @@
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE NoMonoLocalBinds #-}

-----------------------------------------------------------------------------
-- |
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Simple/Program/Ar.hs
Expand Up @@ -2,6 +2,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE NondecreasingIndentation #-}
{-# LANGUAGE NoMonoLocalBinds #-}

-----------------------------------------------------------------------------
-- |
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Simple/Program/GHC.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Simple.Program.GHC (
GhcOptions(..),
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Types/Benchmark.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Types.Benchmark (
Benchmark(..),
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Types/BuildInfo.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Types.BuildInfo (
BuildInfo(..),
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Types/Executable.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Types.Executable (
Executable(..),
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Types/ForeignLib.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Types.ForeignLib(
ForeignLib(..),
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Types/Library.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Types.Library (
Library(..),
Expand Down
1 change: 1 addition & 0 deletions Cabal/Distribution/Types/TestSuite.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

module Distribution.Types.TestSuite (
TestSuite(..),
Expand Down
1 change: 1 addition & 0 deletions cabal-install/Distribution/Client/Config.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoMonoLocalBinds #-}

-----------------------------------------------------------------------------
-- |
Expand Down

0 comments on commit f051a72

Please sign in to comment.