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/TemplateHaskellQuasiquotes.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/TemplateHaskellQuasiquotes.html')
-rw-r--r-- | hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html | 83 |
1 files changed, 45 insertions, 38 deletions
diff --git a/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html b/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html index 38dfb97e..9c06e8e0 100644 --- a/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html +++ b/hypsrc-test/ref/src/TemplateHaskellQuasiquotes.html @@ -7,17 +7,24 @@ ><body ><pre ><span class="hs-pragma" - >{-# LANGUAGE TemplateHaskell #-}</span + >{-# LANGUAGE Haskell2010 #-}</span ><span > </span ><span id="line-2" ></span + ><span class="hs-pragma" + >{-# LANGUAGE TemplateHaskell #-}</span ><span > </span ><span id="line-3" ></span + ><span + > +</span + ><span id="line-4" + ></span ><span class="hs-keyword" >module</span ><span @@ -31,12 +38,12 @@ ><span > </span - ><span id="line-4" + ><span id="line-5" ></span ><span > </span - ><span id="line-5" + ><span id="line-6" ></span ><span class="hs-keyword" >import</span @@ -49,12 +56,12 @@ ><span > </span - ><span id="line-6" + ><span id="line-7" ></span ><span > </span - ><span id="line-7" + ><span id="line-8" ></span ><span class="annot" ><a href="TemplateHaskellQuasiquotes.html#aDecl" @@ -75,7 +82,7 @@ ><span > </span - ><span id="line-8" + ><span id="line-9" ></span ><span id="aDecl" ><span class="annot" @@ -99,7 +106,7 @@ ><span > </span - ><span id="line-9" + ><span id="line-10" ></span ><span > </span @@ -144,7 +151,7 @@ ><span > </span - ><span id="line-10" + ><span id="line-11" ></span ><span > </span @@ -169,7 +176,7 @@ ><span > </span - ><span id="line-11" + ><span id="line-12" ></span ><span > </span @@ -178,12 +185,12 @@ ><span > </span - ><span id="line-12" + ><span id="line-13" ></span ><span > </span - ><span id="line-13" + ><span id="line-14" ></span ><span class="annot" ><a href="TemplateHaskellQuasiquotes.html#aPattern" @@ -204,7 +211,7 @@ ><span > </span - ><span id="line-14" + ><span id="line-15" ></span ><span id="aPattern" ><span class="annot" @@ -228,7 +235,7 @@ ><span > </span - ><span id="line-15" + ><span id="line-16" ></span ><span > </span @@ -241,7 +248,7 @@ ><span > </span - ><span id="line-16" + ><span id="line-17" ></span ><span > </span @@ -254,7 +261,7 @@ ><span > </span - ><span id="line-17" + ><span id="line-18" ></span ><span > </span @@ -277,7 +284,7 @@ ><span > </span - ><span id="line-18" + ><span id="line-19" ></span ><span > </span @@ -304,7 +311,7 @@ ><span > </span - ><span id="line-19" + ><span id="line-20" ></span ><span > </span @@ -313,7 +320,7 @@ ><span > </span - ><span id="line-20" + ><span id="line-21" ></span ><span > </span @@ -322,12 +329,12 @@ ><span > </span - ><span id="line-21" + ><span id="line-22" ></span ><span > </span - ><span id="line-22" + ><span id="line-23" ></span ><span class="annot" ><a href="TemplateHaskellQuasiquotes.html#aNumberPattern" @@ -348,7 +355,7 @@ ><span > </span - ><span id="line-23" + ><span id="line-24" ></span ><span id="aNumberPattern" ><span class="annot" @@ -372,7 +379,7 @@ ><span > </span - ><span id="line-24" + ><span id="line-25" ></span ><span > </span @@ -389,7 +396,7 @@ ><span > </span - ><span id="line-25" + ><span id="line-26" ></span ><span > </span @@ -398,12 +405,12 @@ ><span > </span - ><span id="line-26" + ><span id="line-27" ></span ><span > </span - ><span id="line-27" + ><span id="line-28" ></span ><span class="annot" ><a href="TemplateHaskellQuasiquotes.html#anExpression" @@ -434,7 +441,7 @@ ><span > </span - ><span id="line-28" + ><span id="line-29" ></span ><span id="anExpression" ><span class="annot" @@ -458,7 +465,7 @@ ><span > </span - ><span id="line-29" + ><span id="line-30" ></span ><span > </span @@ -495,7 +502,7 @@ ><span > </span - ><span id="line-30" + ><span id="line-31" ></span ><span > </span @@ -504,7 +511,7 @@ ><span > </span - ><span id="line-31" + ><span id="line-32" ></span ><span id="anExpression2" ><span class="annot" @@ -552,12 +559,12 @@ ><span > </span - ><span id="line-32" + ><span id="line-33" ></span ><span > </span - ><span id="line-33" + ><span id="line-34" ></span ><span class="annot" ><a href="TemplateHaskellQuasiquotes.html#aType" @@ -578,7 +585,7 @@ ><span > </span - ><span id="line-34" + ><span id="line-35" ></span ><span id="aType" ><span class="annot" @@ -602,7 +609,7 @@ ><span > </span - ><span id="line-35" + ><span id="line-36" ></span ><span > </span @@ -629,7 +636,7 @@ ><span > </span - ><span id="line-36" + ><span id="line-37" ></span ><span > </span @@ -638,22 +645,22 @@ ><span > </span - ><span id="line-37" + ><span id="line-38" ></span ><span > </span - ><span id="line-38" + ><span id="line-39" ></span ><span > </span - ><span id="line-39" + ><span id="line-40" ></span ><span > </span - ><span id="line-40" + ><span id="line-41" ></span ></pre ></body |