[commit: haddock] 2.17.3.1-spanfix: UnfelpfulSpan line number omitted (3a22efd)
git at git.haskell.org
git at git.haskell.org
Mon Nov 20 21:06:17 UTC 2017
- Previous 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: TODO on moduleExports. (76d0b2b)
- Next message: [commit: haddock] 2.17.3.1-spanfix: UnfelpfulSpan line number omitted (3a22efd)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/haddock
On branch : 2.17.3.1-spanfix
Link : http://git.haskell.org/haddock.git/commitdiff/3a22efd9842ea3fd503bfbb8ee4815614e8daeea
>---------------------------------------------------------------
commit 3a22efd9842ea3fd503bfbb8ee4815614e8daeea
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
>---------------------------------------------------------------
3a22efd9842ea3fd503bfbb8ee4815614e8daeea
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] 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: TODO on moduleExports. (76d0b2b)
- Next message: [commit: haddock] 2.17.3.1-spanfix: UnfelpfulSpan line number omitted (3a22efd)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list