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/Quasiquoter.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/Quasiquoter.html')
-rw-r--r-- | hypsrc-test/ref/src/Quasiquoter.html | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/hypsrc-test/ref/src/Quasiquoter.html b/hypsrc-test/ref/src/Quasiquoter.html index 867c78ca..53c05de1 100644 --- a/hypsrc-test/ref/src/Quasiquoter.html +++ b/hypsrc-test/ref/src/Quasiquoter.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 @@ -35,12 +42,12 @@ ><span > </span - ><span id="line-2" + ><span id="line-3" ></span ><span > </span - ><span id="line-3" + ><span id="line-4" ></span ><span class="hs-keyword" >import</span @@ -53,7 +60,7 @@ ><span > </span - ><span id="line-4" + ><span id="line-5" ></span ><span class="hs-keyword" >import</span @@ -66,19 +73,19 @@ ><span > </span - ><span id="line-5" + ><span id="line-6" ></span ><span > </span - ><span id="line-6" + ><span id="line-7" ></span ><span class="hs-comment" >-- | Quoter for constructing multiline string literals</span ><span > </span - ><span id="line-7" + ><span id="line-8" ></span ><span class="annot" ><a href="Quasiquoter.html#string" @@ -99,7 +106,7 @@ ><span > </span - ><span id="line-8" + ><span id="line-9" ></span ><span id="string" ><span class="annot" @@ -125,7 +132,7 @@ ><span > </span - ><span id="line-9" + ><span id="line-10" ></span ><span > </span @@ -195,7 +202,7 @@ forall b c a. (b -> c) -> (a -> b) -> a -> c ><span > </span - ><span id="line-10" + ><span id="line-11" ></span ><span > </span @@ -229,7 +236,7 @@ forall a. String -> Q a ><span > </span - ><span id="line-11" + ><span id="line-12" ></span ><span > </span @@ -263,7 +270,7 @@ forall a. String -> Q a ><span > </span - ><span id="line-12" + ><span id="line-13" ></span ><span > </span @@ -297,7 +304,7 @@ forall a. String -> Q a ><span > </span - ><span id="line-13" + ><span id="line-14" ></span ><span > </span @@ -306,7 +313,7 @@ forall a. String -> Q a ><span > </span - ><span id="line-14" + ><span id="line-15" ></span ><span > </span @@ -315,7 +322,7 @@ forall a. String -> Q a ><span > </span - ><span id="line-15" + ><span id="line-16" ></span ><span > </span @@ -358,7 +365,7 @@ forall a. String -> Q a ><span > </span - ><span id="line-16" + ><span id="line-17" ></span ><span > </span @@ -408,7 +415,7 @@ forall (m :: * -> *) a. MonadFail m => String -> m a ><span > </span - ><span id="line-17" + ><span id="line-18" ></span ></pre ></body |