X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FGhciTags.hs;h=4333f69b01076b7cf715837a69e3fe70c98a30b7;hb=cfe89540b4a0620d02b47786599ad1836d851b25;hp=686633e458c2dff875d42a1943614648483f4e8b;hpb=c5f6a3c65987b467cb64be30abd7a10ea6280b67;p=ghc-hetmet.git diff --git a/compiler/ghci/GhciTags.hs b/compiler/ghci/GhciTags.hs index 686633e..4333f69 100644 --- a/compiler/ghci/GhciTags.hs +++ b/compiler/ghci/GhciTags.hs @@ -81,7 +81,7 @@ listTags :: PrintUnqualified -> GHC.ModuleInfo -> [TagInfo] listTags unqual modInfo = [ tagInfo unqual name loc | name <- GHC.modInfoExports modInfo - , let loc = nameSrcLoc name + , let loc = srcSpanStart (nameSrcSpan name) , isGoodSrcLoc loc ]