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 /hypsrc-test/ref/src/LinkingIdentifiers.html | |
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 'hypsrc-test/ref/src/LinkingIdentifiers.html')
-rw-r--r-- | hypsrc-test/ref/src/LinkingIdentifiers.html | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/hypsrc-test/ref/src/LinkingIdentifiers.html b/hypsrc-test/ref/src/LinkingIdentifiers.html index c923b6da..3a6cca56 100644 --- a/hypsrc-test/ref/src/LinkingIdentifiers.html +++ b/hypsrc-test/ref/src/LinkingIdentifiers.html @@ -6,41 +6,48 @@ ></head ><body ><pre - ><span class="hs-comment" - >-- Tests that the identifers/operators are properly linked even when:</span + ><span class="hs-pragma" + >{-# LANGUAGE Haskell2010 #-}</span ><span > </span ><span id="line-2" ></span ><span class="hs-comment" - >--</span + >-- Tests that the identifers/operators are properly linked even when:</span ><span > </span ><span id="line-3" ></span ><span class="hs-comment" - >-- * backquoted, parenthesized, vanilla</span + >--</span ><span > </span ><span id="line-4" ></span ><span class="hs-comment" - >-- * qualified, not-qualified</span + >-- * backquoted, parenthesized, vanilla</span ><span > </span ><span id="line-5" ></span ><span class="hs-comment" - >--</span + >-- * qualified, not-qualified</span ><span > </span ><span id="line-6" ></span + ><span class="hs-comment" + >--</span + ><span + > +</span + ><span id="line-7" + ></span ><span class="hs-keyword" >module</span ><span @@ -54,12 +61,12 @@ ><span > </span - ><span id="line-7" + ><span id="line-8" ></span ><span > </span - ><span id="line-8" + ><span id="line-9" ></span ><span class="annot" ><a href="LinkingIdentifiers.html#ident" @@ -100,7 +107,7 @@ ><span > </span - ><span id="line-9" + ><span id="line-10" ></span ><span id="" ><span class="annot" @@ -222,7 +229,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-10" + ><span id="line-11" ></span ><span class="annot" ><a href="LinkingIdentifiers.html#ident" @@ -331,12 +338,12 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-11" + ><span id="line-12" ></span ><span > </span - ><span id="line-12" + ><span id="line-13" ></span ><span class="annot" ><a href="LinkingIdentifiers.html#%2B%2B%3A%2B%2B" @@ -377,7 +384,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-13" + ><span id="line-14" ></span ><span id="" ><span class="annot" @@ -499,7 +506,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-14" + ><span id="line-15" ></span ><span class="annot" ><a href="LinkingIdentifiers.html#%2B%2B%3A%2B%2B" @@ -608,7 +615,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-15" + ><span id="line-16" ></span ></pre ></body |