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