diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2021-02-22 10:31:56 +0100 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2021-02-22 10:39:18 +0100 |
commit | 606e3f220d20688c7baff94bef525a13434dc56b (patch) | |
tree | f9724712e17b92abaca1dcb9b67f1eca3a06cb04 /hoogle-test/src/type-sigs | |
parent | d1b7f181b60ba3ac191183f1512e66793d28ac08 (diff) |
html-test: Always set language
from ghc-9.2 on, the “default” langauge of GHC is expected to change
more wildly. To prepare for that (and unblock
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4853), this sets the
language for all the test files to `Haskell2010`. This should insolate
this test suite against changes to the default.
Cherry-picked from https://github.com/haskell/haddock/pull/1341
Diffstat (limited to 'hoogle-test/src/type-sigs')
-rw-r--r-- | hoogle-test/src/type-sigs/ReaderT.hs | 1 | ||||
-rw-r--r-- | hoogle-test/src/type-sigs/ReaderTReexport.hs | 1 |
2 files changed, 2 insertions, 0 deletions
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 |