Skip to content

Commit 6bf1ba3

Browse files
committed
GHC 7.10 fixes
1 parent 767ea7a commit 6bf1ba3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/Control/Monad/Logger/Sticky.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import Language.Haskell.TH
2525
import System.IO
2626
import System.Log.FastLogger
2727

28+
import Prelude -- avoid AMP warnings
29+
2830
data State = State
2931
{ stateCurrentLine :: !(Maybe ByteString)
3032
, stateMaxColumns :: !Int

src/test/Stack/BuildPlanSpec.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE FlexibleContexts #-}
12
{-# LANGUAGE OverloadedStrings #-}
23
{-# LANGUAGE RecordWildCards #-}
34
{-# LANGUAGE TemplateHaskell #-}

src/test/Stack/ConfigSpec.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
{-# LANGUAGE RecordWildCards #-}
2-
{-# LANGUAGE TemplateHaskell #-}
1+
{-# LANGUAGE FlexibleContexts #-}
2+
{-# LANGUAGE RecordWildCards #-}
3+
{-# LANGUAGE TemplateHaskell #-}
34
module Stack.ConfigSpec where
45

56
import Control.Applicative

0 commit comments

Comments
 (0)