summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2015-06-27 14:09:42 +0100
committerWill Thompson <will@willthompson.co.uk>2015-06-27 17:12:41 +0100
commit85965cf6ec945fc82e2dd87983b4c43ed960766a (patch)
tree25b560ad7d09e5bf8f170349fa4e3cd19f5f8dd7
parente2a25206f52260791e86fa5ee4f56725c53b99b8 (diff)
Tweak bustle-0.5.0 for ghc-7.10
ghc-7.10.1 requires extensions to be enabled even if they are used implicitly (on type inference): Test/Renderer.hs:109:5: Non type-variable argument in the constraint: MonadState RendererState m (Use FlexibleContexts to permit this) When checking that ‘processOne’ has the inferred type processOne :: forall (m :: * -> *). MonadState RendererState m => DetailedEvent -> m (RendererResult Participants) Signed-off-by: Sergei Trofimovich <siarheit@google.com>
-rw-r--r--Bustle/UI/FilterDialog.hs1
-rw-r--r--Test/Renderer.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Bustle/UI/FilterDialog.hs b/Bustle/UI/FilterDialog.hs
index 248ce8d..6658d22 100644
--- a/Bustle/UI/FilterDialog.hs
+++ b/Bustle/UI/FilterDialog.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE FlexibleContexts #-}
{-
Bustle.UI.FilterDialog: allows the user to filter the displayed log
Copyright © 2011 Collabora Ltd.
diff --git a/Test/Renderer.hs b/Test/Renderer.hs
index a760b5a..08fac5a 100644
--- a/Test/Renderer.hs
+++ b/Test/Renderer.hs
@@ -1,4 +1,5 @@
{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE FlexibleContexts #-}
module Main where
import Test.Framework (defaultMain, testGroup)