Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit d989d3c

Browse files
committed
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.
1 parent bce435a commit d989d3c

File tree

302 files changed

+1384
-381
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+1384
-381
lines changed

hoogle-test/src/Bug722/Bug722.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
{-# LANGUAGE TypeOperators, TypeFamilies #-}
23
module Bug722 where
34

hoogle-test/src/Bug806/Bug806.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
{-# LANGUAGE KindSignatures #-}
23
{-# LANGUAGE TypeFamilies #-}
34
{-# LANGUAGE UndecidableInstances #-}

hoogle-test/src/Bug825/Bug825.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
{-# LANGUAGE MultiParamTypeClasses #-}
23
{-# LANGUAGE TypeOperators #-}
34
module Bug825 where

hoogle-test/src/Bug873/Bug873.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
module Bug873 (($), ($$)) where
23
infixr 0 $$
34

hoogle-test/src/Bug946/Bug946.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
{-# LANGUAGE PatternSynonyms #-}
23
module Bug946 (
34
AnInt(AnInt, Zero),

hoogle-test/src/Bug992/Bug992.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
{-# LANGUAGE KindSignatures #-}
23

34
module Bug992 where

hoogle-test/src/assoc-types/AssocTypes.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
{-# LANGUAGE TypeFamilies #-}
23
{-# LANGUAGE AllowAmbiguousTypes #-}
34

hoogle-test/src/classes/Classes.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
module Classes where
23

34

hoogle-test/src/fixity/Fixity.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
module Fixity where
23

34

hoogle-test/src/modules/Bar.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE Haskell2010 #-}
12
module Bar where
23

34

0 commit comments

Comments
 (0)