google / haskell-indexer

Emits code crossreference data for Haskell sources.
98 stars 20 forks source link

Cross-references in import/export lists when a whole module is imported/exported #122

Open jinwoo opened 4 years ago

jinwoo commented 4 years ago

https://github.com/google/haskell-indexer/issues/6 and https://github.com/google/haskell-indexer/issues/66 added support for xrefs in import/export lists. But when a whole module is imported or exported, rather than individual entities, it doesn't get xrefs. Fix it.

jinwoo commented 4 years ago

E.g. in

module Foo (module Foo.Internal) where

or

import Foo (module Bar)

, Foo.Internal or Bar must have xref links.