From 47b971c5828eaefd4cab59788ca7f52a56f43a1b Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Tue, 31 Mar 2015 21:59:03 -0700 Subject: [PATCH] Declared FlexibleContexts for GHC 7.10 --- ShellCheck/Analytics.hs | 2 +- ShellCheck/Parser.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index e031722..d1d82cd 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -15,7 +15,7 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . -} -{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TemplateHaskell, FlexibleContexts #-} module ShellCheck.Analytics (AnalysisOptions(..), defaultAnalysisOptions, filterByAnnotation, runAnalytics, shellForExecutable, runTests) where import Control.Arrow (first) diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index 7009226..5dc7b9c 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -15,7 +15,7 @@ You should have received a copy of the GNU Affero General Public License along with this program. If not, see . -} -{-# LANGUAGE NoMonomorphismRestriction, TemplateHaskell #-} +{-# LANGUAGE NoMonomorphismRestriction, TemplateHaskell, FlexibleContexts #-} module ShellCheck.Parser (Note(..), Severity(..), parseShell, ParseResult(..), ParseNote(..), sortNotes, noteToParseNote, runTests, readScript) where import ShellCheck.AST