[commit: haddock] v2.17: UnfelpfulSpan line number omitted (27e08c8)
git at git.haskell.org
git at git.haskell.org
Tue Nov 28 11:50:29 UTC 2017
- Previous message: [commit: haddock] v2.17: UnfelpfulSpan line number omitted (27e08c8)
- Next message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, travis, v2.18, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: Update MathJax URL (18ed871)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/haddock
On branch : v2.17
Link : http://git.haskell.org/haddock.git/commitdiff/27e08c8d3304405416bd0e89d0c1783d91925f05
>---------------------------------------------------------------
commit 27e08c8d3304405416bd0e89d0c1783d91925f05
Author: Oleg Grenrus <oleg.grenrus at iki.fi>
Date: Tue May 24 16:19:46 2016 +0300
UnfelpfulSpan line number omitted
Kind of resolves https://github.com/haskell/haddock/issues/508
>---------------------------------------------------------------
27e08c8d3304405416bd0e89d0c1783d91925f05
haddock-api/src/Haddock/Backends/Xhtml/Utils.hs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs b/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs
index 1d49807..391bb50 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml/Utils.hs
@@ -75,8 +75,7 @@ spliceURL' maybe_file maybe_mod maybe_name maybe_loc = run
case span_ of
RealSrcSpan span__ ->
show $ srcSpanStartLine span__
- UnhelpfulSpan _ ->
- error "spliceURL UnhelpfulSpan"
+ UnhelpfulSpan _ -> ""
run "" = ""
run ('%':'M':rest) = mdl ++ run rest
- Previous message: [commit: haddock] v2.17: UnfelpfulSpan line number omitted (27e08c8)
- Next message: [commit: haddock] alexbiehl-patch-1, ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr-filter-maps, pr/cabal-desc, travis, v2.18, wip/remove-frames, wip/remove-frames1, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: Update MathJax URL (18ed871)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list