google / google/haskell-indexer

Emit pre-splicing references when using TH

Open
#57 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
103
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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:
- Q expressions `bar = [|$(foo)|]`.
- QuasiQuoter name `[bar|1+1]`.

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.