diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-01-06 08:20:43 -0800 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2018-01-06 08:20:43 -0800 |
commit | b9bf41f6a25239bb2c0780d146ba1f18c061d6d3 (patch) | |
tree | 1925d8d5c92a2085752e6c574b0b32d0f4a86951 /haddock-api/src/Haddock/Interface/ParseModuleHeader.hs | |
parent | 24841386cff6fdccc11accf9daa815c2c7444d65 (diff) |
Pass to GHC visible modules for instance filtering
The GHC-side `getNameToInstancesIndex` filters out incorrectly some
instances because it is not aware of what modules are visible. On the
Haddock side, we need to pass in the modules we are processing.
On the GHC side, we need to check against _those_ modules when checking
if an instance is visible.
Diffstat (limited to 'haddock-api/src/Haddock/Interface/ParseModuleHeader.hs')
0 files changed, 0 insertions, 0 deletions