Skip to content
Snippets Groups Projects
Commit c5533204 authored by sheaf's avatar sheaf Committed by Ben Gamari
Browse files

Refactor lookupGRE_... functions

This commit consolidates all the logic for looking up something in
the Global Reader Environment into the single function lookupGRE.
This allows us to declaratively specify all the different modes of
looking up in the GlobalRdrEnv, and avoids manually passing around
filtering functions as was the case in e.g. the function
GHC.Rename.Env.lookupSubBndrOcc_helper.

-------------------------
Metric Decrease:
    T8095
-------------------------
-------------------------
Metric Increase:
    T8095
-------------------------

(cherry picked from commit 7f0a86ed)
parent 45ab7560
No related branches found
No related tags found
No related merge requests found
Showing
with 363 additions and 266 deletions
Loading
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