File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Development/IDE/Spans Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ getDocumentation tcs targetName = fromMaybe [] $ do
58
58
-- Find the module the target is defined in.
59
59
targetNameSpan <- realSpan $ nameSrcSpan targetName
60
60
tc <-
61
- listToMaybe
62
- $ filter ((==) (Just $ srcSpanFile targetNameSpan) . annotationFileName)
61
+ find ((==) (Just $ srcSpanFile targetNameSpan) . annotationFileName)
63
62
$ reverse tcs -- TODO : Is reversing the list here really neccessary?
64
63
-- Names bound by the module (we want to exclude non-"top-level"
65
64
-- bindings but unfortunately we get all here).
@@ -193,4 +192,4 @@ haddockToMarkdown (H.DocTable _t)
193
192
-- things I don't really know how to handle
194
193
haddockToMarkdown (H. DocProperty _)
195
194
= " " -- don't really know what to do
196
- #endif
195
+ #endif
You can’t perform that action at this time.
0 commit comments