aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface/ParseModuleHeader.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-01-06 08:20:43 -0800
committerAlec Theriault <alec.theriault@gmail.com>2018-01-06 08:20:43 -0800
commitb9bf41f6a25239bb2c0780d146ba1f18c061d6d3 (patch)
tree1925d8d5c92a2085752e6c574b0b32d0f4a86951 /haddock-api/src/Haddock/Interface/ParseModuleHeader.hs
parent24841386cff6fdccc11accf9daa815c2c7444d65 (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