From 606e3f220d20688c7baff94bef525a13434dc56b Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Mon, 22 Feb 2021 10:31:56 +0100 Subject: html-test: Always set language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- hypsrc-test/ref/src/LinkingIdentifiers.html | 37 +++++++++++++++++------------ 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'hypsrc-test/ref/src/LinkingIdentifiers.html') 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 @@ >
-- Tests that the identifers/operators are properly linked even when:{-# LANGUAGE Haskell2010 #-}
 ---- Tests that the identifers/operators are properly linked even when:
 --   * backquoted, parenthesized, vanilla--
 --   * qualified, not-qualified--   * backquoted, parenthesized, vanilla
 ----   * qualified, not-qualified
 --
+module