Skip to content

fix(ide): resolve macro operation source targets#252

Merged
hongjr03 merged 1 commit into
masterfrom
fix/macro-operation-source-targets
Jun 9, 2026
Merged

fix(ide): resolve macro operation source targets#252
hongjr03 merged 1 commit into
masterfrom
fix/macro-operation-source-targets

Conversation

@hongjr03

@hongjr03 hongjr03 commented Jun 9, 2026

Copy link
Copy Markdown
Member

This change preserves macro operation token identity through the slang, preproc, and HIR layers, then uses that identity in IDE source-target dispatch.

It fixes hover resolution for macro-expanded tokens produced by token paste or stringification, such as name``_q in macro bodies, by mapping the expanded token back to the original macro argument token instead of relying on broad projected ranges.

@hongjr03 hongjr03 marked this pull request as ready for review June 9, 2026 12:10
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Docs preview: https://vide.pascal-lab.net/preview/pr-252/

@hongjr03 hongjr03 merged commit 76e6b76 into master Jun 9, 2026
12 checks passed
@hongjr03 hongjr03 deleted the fix/macro-operation-source-targets branch June 9, 2026 12:18
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

Successfully merging this pull request may close these issues.

1 participant