Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
head.hackage
Commits
673e9fd1
Commit
673e9fd1
authored
3 years ago
by
Ryan Scott
Browse files
Options
Downloads
Patches
Plain Diff
Patch doctest-0.20.0 to accommodate Backend becoming abstract
See
ghc@4aa3c5bd
parent
c4a5b619
Branches
wip/fix-upstream-url
Branches containing commit
No related tags found
1 merge request
!229
Fix upstream job URL
Pipeline
#52655
failed
3 years ago
Stage: test
Stage: update-repo
Stage: deploy
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/doctest-0.20.0.patch
+15
-0
15 additions, 0 deletions
patches/doctest-0.20.0.patch
with
15 additions
and
0 deletions
patches/doctest-0.20.0.patch
+
15
−
0
View file @
673e9fd1
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment