aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2015-11-13 21:56:18 -0800
committerMatthew Pickering <matthewtpickering@gmail.com>2015-12-14 15:49:54 +0000
commit22aef2dd92e488af31556b8b4c1e034d6eb25de9 (patch)
tree5c5677e822a68fd0a1dd03ad074d64e9c6fa0fe8
parent064a7dfb98c197cd04f596aa7593b56cc93b63b6 (diff)
Undo msHsFilePath change.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
-rw-r--r--haddock-api/src/Haddock/Interface/Create.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/haddock-api/src/Haddock/Interface/Create.hs b/haddock-api/src/Haddock/Interface/Create.hs
index ba3cee25..1c2cf5c9 100644
--- a/haddock-api/src/Haddock/Interface/Create.hs
+++ b/haddock-api/src/Haddock/Interface/Create.hs
@@ -130,9 +130,7 @@ createInterface tm flags modMap instIfaceMap = do
return $! Interface {
ifaceMod = mdl
- , ifaceOrigFilename = case msHsFilePath ms of
- Just path -> path
- Nothing -> "(none)"
+ , ifaceOrigFilename = msHsFilePath ms
, ifaceInfo = info
, ifaceDoc = Documentation mbDoc modWarn
, ifaceRnDoc = Documentation Nothing Nothing