Skip to content
Snippets Groups Projects
Commit b57200de authored by Hannes Siebenhandl's avatar Hannes Siebenhandl Committed by Marge Bot
Browse files

Prefer RdrName over OccName for looking up locations in doc renaming step

Looking up by OccName only does not take into account when functions are
only imported in a qualified way.

Fixes issue #24294

Bump haddock submodule to include regression test
parent 264a4fa9
No related branches found
No related tags found
No related merge requests found
......@@ -40,5 +40,5 @@ rnHsDocIdentifiers :: GlobalRdrEnv
rnHsDocIdentifiers gre_env ns =
[ L l $ greName gre
| L l rdr_name <- ns
, gre <- lookupGRE gre_env (LookupOccName (rdrNameOcc rdr_name) AllRelevantGREs)
, gre <- lookupGRE gre_env (LookupRdrName rdr_name AllRelevantGREs)
]
Subproject commit 65453a58185726aab95289c2da0d9fb27b7ce0af
Subproject commit 9fcf5cf499102baf9e00986bb8b54b80ec5ffc81
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment