File tree 2 files changed +2
-3
lines changed
ghcide/src/Development/IDE/Spans
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ import Development.IDE.GHC.Util
39
39
type DocMap = NameEnv SpanDoc
40
40
type KindMap = NameEnv TyThing
41
41
42
-
43
42
showGhc :: Outputable a => a -> T. Text
44
43
showGhc = showSD . ppr
45
44
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ getDocumentationsTryGhc env mod sources names = do
99
99
src <- toFileUriText $ lookupSrcHtmlForModule df mod
100
100
return (doc, src)
101
101
Nothing -> pure (Nothing , Nothing )
102
- let docUri = (<> " #" <> selector <> showGhc name) <$> docFu
103
- srcUri = (<> " #" <> showGhc name) <$> srcFu
102
+ let docUri = (<> " #" <> selector <> showNameWithoutUniques name) <$> docFu
103
+ srcUri = (<> " #" <> showNameWithoutUniques name) <$> srcFu
104
104
selector
105
105
| isValName name = " v:"
106
106
| otherwise = " t:"
You can’t perform that action at this time.
0 commit comments