Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit pre-splicing references when using TH #57

Open
robinp opened this issue Jul 25, 2017 · 2 comments
Open

Emit pre-splicing references when using TH #57

robinp opened this issue Jul 25, 2017 · 2 comments

Comments

@robinp
Copy link
Collaborator

robinp commented Jul 25, 2017

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?

@mpickering
Copy link
Contributor

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

@robinp
Copy link
Collaborator Author

robinp commented Jul 25, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants