Skip to content
Snippets Groups Projects
Commit 673e9fd1 authored by Ryan Scott's avatar Ryan Scott
Browse files

Patch doctest-0.20.0 to accommodate Backend becoming abstract

parent c4a5b619
Branches wip/fix-upstream-url
No related tags found
1 merge request!229Fix upstream job URL
Pipeline #52655 failed
......@@ -71,3 +71,18 @@ index ac4c9be..1669692 100644
+lhsDocString :: SrcSpan -> HsDocString -> LHsDocString
+lhsDocString = L
+#endif
diff --git a/src/GhcUtil.hs b/src/GhcUtil.hs
index de36558..a683027 100644
--- a/src/GhcUtil.hs
+++ b/src/GhcUtil.hs
@@ -103,7 +103,9 @@ setHaddockMode dynflags = (dopt_set dynflags Opt_Haddock) {
#else
setHaddockMode dynflags = (gopt_set dynflags Opt_Haddock) {
#endif
-#if __GLASGOW_HASKELL__ >= 901
+#if __GLASGOW_HASKELL__ >= 903
+ backend = noBackend
+#elif __GLASGOW_HASKELL__ >= 901
backend = NoBackend
#else
hscTarget = HscNothing
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment