google / haskell-indexer

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

Emit pre-splicing references when using TH #57

Open robinp opened 7 years ago

robinp commented 7 years ago

Now $(foo) is indexed with the unspliced content, but the reference to foo itself doesn't get emitted. This causes for example that backreferences on foo don't show the usage sites.

Related:

Can we access the pre-splicing info from some of the ASTs?

mpickering commented 7 years ago

It should also be possible to index the post processed sources eventually as well?

robinp commented 7 years ago

@mpickering: forked to #58 - but the two issues are very intertwined. I feel some more investigation / brainstorming is needed before making up a plan.