aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test/ref/src/Operators.html
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2021-02-22 10:31:56 +0100
committerJoachim Breitner <mail@joachim-breitner.de>2021-02-22 10:39:18 +0100
commit606e3f220d20688c7baff94bef525a13434dc56b (patch)
treef9724712e17b92abaca1dcb9b67f1eca3a06cb04 /hypsrc-test/ref/src/Operators.html
parentd1b7f181b60ba3ac191183f1512e66793d28ac08 (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/Operators.html')
-rw-r--r--hypsrc-test/ref/src/Operators.html53
1 files changed, 30 insertions, 23 deletions
diff --git a/hypsrc-test/ref/src/Operators.html b/hypsrc-test/ref/src/Operators.html
index 2ce87a6e..04006a0d 100644
--- a/hypsrc-test/ref/src/Operators.html
+++ b/hypsrc-test/ref/src/Operators.html
@@ -6,7 +6,14 @@
></head
><body
><pre
- ><span class="hs-keyword"
+ ><span class="hs-pragma"
+ >{-# LANGUAGE Haskell2010 #-}</span
+ ><span
+ >
+</span
+ ><span id="line-2"
+ ></span
+ ><span class="hs-keyword"
>module</span
><span
> </span
@@ -19,17 +26,17 @@
><span
>
</span
- ><span id="line-2"
+ ><span id="line-3"
></span
><span
>
</span
- ><span id="line-3"
+ ><span id="line-4"
></span
><span
>
</span
- ><span id="line-4"
+ ><span id="line-5"
></span
><span id=""
><span class="annot"
@@ -90,7 +97,7 @@
><span
>
</span
- ><span id="line-5"
+ ><span id="line-6"
></span
><span id=""
><span class="annot"
@@ -189,12 +196,12 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-6"
+ ><span id="line-7"
></span
><span
>
</span
- ><span id="line-7"
+ ><span id="line-8"
></span
><span id=""
><span class="annot"
@@ -255,7 +262,7 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-8"
+ ><span id="line-9"
></span
><span id=""
><span class="annot"
@@ -335,12 +342,12 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-9"
+ ><span id="line-10"
></span
><span
>
</span
- ><span id="line-10"
+ ><span id="line-11"
></span
><span id=""
><span class="annot"
@@ -401,7 +408,7 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-11"
+ ><span id="line-12"
></span
><span id="%2A%2A%2A"
><span class="annot"
@@ -451,7 +458,7 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-12"
+ ><span id="line-13"
></span
><span class="annot"
><a href="Operators.html#%2A%2A%2A"
@@ -568,12 +575,12 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-13"
+ ><span id="line-14"
></span
><span
>
</span
- ><span id="line-14"
+ ><span id="line-15"
></span
><span id=""
><span class="annot"
@@ -638,7 +645,7 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-15"
+ ><span id="line-16"
></span
><span id=""
><span class="annot"
@@ -732,12 +739,12 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-16"
+ ><span id="line-17"
></span
><span
>
</span
- ><span id="line-17"
+ ><span id="line-18"
></span
><span id=""
><span class="annot"
@@ -810,7 +817,7 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-18"
+ ><span id="line-19"
></span
><span id=""
><span class="annot"
@@ -954,17 +961,17 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-19"
+ ><span id="line-20"
></span
><span
>
</span
- ><span id="line-20"
+ ><span id="line-21"
></span
><span
>
</span
- ><span id="line-21"
+ ><span id="line-22"
></span
><span id=""
><span id=""
@@ -1047,7 +1054,7 @@ forall a. [a] -&gt; [a] -&gt; [a]
><span
>
</span
- ><span id="line-22"
+ ><span id="line-23"
></span
><span id=""
><span class="annot"
@@ -1141,7 +1148,7 @@ forall a b. (a -&gt; b) -&gt; a -&gt; b
><span
>
</span
- ><span id="line-23"
+ ><span id="line-24"
></span
></pre
></body