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/Records.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/Records.html')
-rw-r--r-- | hypsrc-test/ref/src/Records.html | 71 |
1 files changed, 39 insertions, 32 deletions
diff --git a/hypsrc-test/ref/src/Records.html b/hypsrc-test/ref/src/Records.html index 7c5b2ff7..9adf02de 100644 --- a/hypsrc-test/ref/src/Records.html +++ b/hypsrc-test/ref/src/Records.html @@ -7,19 +7,21 @@ ><body ><pre ><span class="hs-pragma" - >{-# LANGUAGE NamedFieldPuns #-}</span + >{-# LANGUAGE Haskell2010 #-}</span ><span > </span ><span id="line-2" ></span ><span class="hs-pragma" - >{-# LANGUAGE RecordWildCards #-}</span + >{-# LANGUAGE NamedFieldPuns #-}</span ><span > </span ><span id="line-3" ></span + ><span class="hs-pragma" + >{-# LANGUAGE RecordWildCards #-}</span ><span > </span @@ -30,6 +32,11 @@ </span ><span id="line-5" ></span + ><span + > +</span + ><span id="line-6" + ></span ><span class="hs-keyword" >module</span ><span @@ -43,17 +50,17 @@ ><span > </span - ><span id="line-6" + ><span id="line-7" ></span ><span > </span - ><span id="line-7" + ><span id="line-8" ></span ><span > </span - ><span id="line-8" + ><span id="line-9" ></span ><span class="hs-keyword" >data</span @@ -84,7 +91,7 @@ ><span > </span - ><span id="line-9" + ><span id="line-10" ></span ><span > </span @@ -118,7 +125,7 @@ ><span > </span - ><span id="line-10" + ><span id="line-11" ></span ><span > </span @@ -152,7 +159,7 @@ ><span > </span - ><span id="line-11" + ><span id="line-12" ></span ><span > </span @@ -161,17 +168,17 @@ ><span > </span - ><span id="line-12" + ><span id="line-13" ></span ><span > </span - ><span id="line-13" + ><span id="line-14" ></span ><span > </span - ><span id="line-14" + ><span id="line-15" ></span ><span class="annot" ><a href="Records.html#point" @@ -214,7 +221,7 @@ ><span > </span - ><span id="line-15" + ><span id="line-16" ></span ><span id="point" ><span class="annot" @@ -330,17 +337,17 @@ ><span > </span - ><span id="line-16" + ><span id="line-17" ></span ><span > </span - ><span id="line-17" + ><span id="line-18" ></span ><span > </span - ><span id="line-18" + ><span id="line-19" ></span ><span class="annot" ><a href="Records.html#lengthSqr" @@ -373,7 +380,7 @@ ><span > </span - ><span id="line-19" + ><span id="line-20" ></span ><span id="lengthSqr" ><span class="annot" @@ -545,12 +552,12 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-20" + ><span id="line-21" ></span ><span > </span - ><span id="line-21" + ><span id="line-22" ></span ><span class="annot" ><a href="Records.html#lengthSqr%27" @@ -583,7 +590,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-22" + ><span id="line-23" ></span ><span id="lengthSqr%27" ><span class="annot" @@ -729,17 +736,17 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-23" + ><span id="line-24" ></span ><span > </span - ><span id="line-24" + ><span id="line-25" ></span ><span > </span - ><span id="line-25" + ><span id="line-26" ></span ><span class="annot" ><a href="Records.html#translateX" @@ -794,7 +801,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-26" + ><span id="line-27" ></span ><span id="translateX" ><span class="annot" @@ -917,7 +924,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-27" + ><span id="line-28" ></span ><span id="translateY" ><span class="annot" @@ -1040,12 +1047,12 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-28" + ><span id="line-29" ></span ><span > </span - ><span id="line-29" + ><span id="line-30" ></span ><span class="annot" ><a href="Records.html#translate" @@ -1100,7 +1107,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-30" + ><span id="line-31" ></span ><span id="translate" ><span class="annot" @@ -1159,7 +1166,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-31" + ><span id="line-32" ></span ><span > </span @@ -1186,7 +1193,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-32" + ><span id="line-33" ></span ><span > </span @@ -1195,7 +1202,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-33" + ><span id="line-34" ></span ><span > </span @@ -1264,7 +1271,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-34" + ><span id="line-35" ></span ><span > </span @@ -1430,7 +1437,7 @@ forall a. Num a => a -> a -> a ><span > </span - ><span id="line-35" + ><span id="line-36" ></span ></pre ></body |