Forked from
Glasgow Haskell Compiler / GHC
21826 commits behind, 2 commits ahead of the upstream repository.
Ben Gamari
authored
Previously instIsVisible had completely broken the laziness of lookupInstEnv' since it would examine is_dfun_name to check the name of the defining module (to know whether it is an interactive module). This resulted in the visibility check drawing in an interface file unnecessarily.