aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/src
diff options
context:
space:
mode:
authorHécate Moonlight <Kleidukos@users.noreply.github.com>2021-02-22 10:56:51 +0100
committerGitHub <noreply@github.com>2021-02-22 10:56:51 +0100
commita82ad674def0e62218076d91ea24ad978ccfed9f (patch)
treef8e03feaf1544708870f7f202203619051fc8b19 /hoogle-test/src
parent43dd878df19f2523311365fb07742a434291b590 (diff)
parent606e3f220d20688c7baff94bef525a13434dc56b (diff)
Merge pull request #1342 from nomeata/joachim/haskell2010-in-tests-ghc-head
html-test: Always set language
Diffstat (limited to 'hoogle-test/src')
-rw-r--r--hoogle-test/src/Bug722/Bug722.hs1
-rw-r--r--hoogle-test/src/Bug806/Bug806.hs1
-rw-r--r--hoogle-test/src/Bug825/Bug825.hs1
-rw-r--r--hoogle-test/src/Bug873/Bug873.hs1
-rw-r--r--hoogle-test/src/Bug946/Bug946.hs1
-rw-r--r--hoogle-test/src/Bug992/Bug992.hs1
-rw-r--r--hoogle-test/src/assoc-types/AssocTypes.hs1
-rw-r--r--hoogle-test/src/classes/Classes.hs1
-rw-r--r--hoogle-test/src/fixity/Fixity.hs1
-rw-r--r--hoogle-test/src/modules/Bar.hs1
-rw-r--r--hoogle-test/src/modules/Foo.hs1
-rw-r--r--hoogle-test/src/type-sigs/ReaderT.hs1
-rw-r--r--hoogle-test/src/type-sigs/ReaderTReexport.hs1
13 files changed, 13 insertions, 0 deletions
diff --git a/hoogle-test/src/Bug722/Bug722.hs b/hoogle-test/src/Bug722/Bug722.hs
index a33d5b24..ef7e9a2f 100644
--- a/hoogle-test/src/Bug722/Bug722.hs
+++ b/hoogle-test/src/Bug722/Bug722.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TypeOperators, TypeFamilies #-}
module Bug722 where
diff --git a/hoogle-test/src/Bug806/Bug806.hs b/hoogle-test/src/Bug806/Bug806.hs
index 45efda77..6deb98c1 100644
--- a/hoogle-test/src/Bug806/Bug806.hs
+++ b/hoogle-test/src/Bug806/Bug806.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
diff --git a/hoogle-test/src/Bug825/Bug825.hs b/hoogle-test/src/Bug825/Bug825.hs
index bfe07139..48c09305 100644
--- a/hoogle-test/src/Bug825/Bug825.hs
+++ b/hoogle-test/src/Bug825/Bug825.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeOperators #-}
module Bug825 where
diff --git a/hoogle-test/src/Bug873/Bug873.hs b/hoogle-test/src/Bug873/Bug873.hs
index 3a9a5383..4df1b772 100644
--- a/hoogle-test/src/Bug873/Bug873.hs
+++ b/hoogle-test/src/Bug873/Bug873.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module Bug873 (($), ($$)) where
infixr 0 $$
diff --git a/hoogle-test/src/Bug946/Bug946.hs b/hoogle-test/src/Bug946/Bug946.hs
index 606b5ac4..ec567d6d 100644
--- a/hoogle-test/src/Bug946/Bug946.hs
+++ b/hoogle-test/src/Bug946/Bug946.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE PatternSynonyms #-}
module Bug946 (
AnInt(AnInt, Zero),
diff --git a/hoogle-test/src/Bug992/Bug992.hs b/hoogle-test/src/Bug992/Bug992.hs
index bd772427..0b03964b 100644
--- a/hoogle-test/src/Bug992/Bug992.hs
+++ b/hoogle-test/src/Bug992/Bug992.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE KindSignatures #-}
module Bug992 where
diff --git a/hoogle-test/src/assoc-types/AssocTypes.hs b/hoogle-test/src/assoc-types/AssocTypes.hs
index ceacc834..3fa5f034 100644
--- a/hoogle-test/src/assoc-types/AssocTypes.hs
+++ b/hoogle-test/src/assoc-types/AssocTypes.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE AllowAmbiguousTypes #-}
diff --git a/hoogle-test/src/classes/Classes.hs b/hoogle-test/src/classes/Classes.hs
index 23f68499..2bd726a2 100644
--- a/hoogle-test/src/classes/Classes.hs
+++ b/hoogle-test/src/classes/Classes.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module Classes where
diff --git a/hoogle-test/src/fixity/Fixity.hs b/hoogle-test/src/fixity/Fixity.hs
index 3af38117..122bd4f8 100644
--- a/hoogle-test/src/fixity/Fixity.hs
+++ b/hoogle-test/src/fixity/Fixity.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module Fixity where
diff --git a/hoogle-test/src/modules/Bar.hs b/hoogle-test/src/modules/Bar.hs
index 156a835f..86e2648b 100644
--- a/hoogle-test/src/modules/Bar.hs
+++ b/hoogle-test/src/modules/Bar.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module Bar where
diff --git a/hoogle-test/src/modules/Foo.hs b/hoogle-test/src/modules/Foo.hs
index 6581fe4c..947da4ce 100644
--- a/hoogle-test/src/modules/Foo.hs
+++ b/hoogle-test/src/modules/Foo.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module Foo where
diff --git a/hoogle-test/src/type-sigs/ReaderT.hs b/hoogle-test/src/type-sigs/ReaderT.hs
index 009c7ed2..fb09bac0 100644
--- a/hoogle-test/src/type-sigs/ReaderT.hs
+++ b/hoogle-test/src/type-sigs/ReaderT.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module ReaderT where
newtype ReaderT r m a = ReaderT { runReaderT :: r -> m a }
diff --git a/hoogle-test/src/type-sigs/ReaderTReexport.hs b/hoogle-test/src/type-sigs/ReaderTReexport.hs
index 21fa44ee..b995bba8 100644
--- a/hoogle-test/src/type-sigs/ReaderTReexport.hs
+++ b/hoogle-test/src/type-sigs/ReaderTReexport.hs
@@ -1,3 +1,4 @@
+{-# LANGUAGE Haskell2010 #-}
module ReaderTReexport (ReaderT(..), runReaderT) where
import ReaderT