Skip to content

Introduce HasAnn typeclass; fix Apply span regression#7726

Open
zeme-wana wants to merge 4 commits intomasterfrom
laughing-hugle
Open

Introduce HasAnn typeclass; fix Apply span regression#7726
zeme-wana wants to merge 4 commits intomasterfrom
laughing-hugle

Conversation

@zeme-wana
Copy link
Copy Markdown
Collaborator

@zeme-wana zeme-wana commented Apr 20, 2026

Summary

Refactors annotation access across the plutus-core, plutus-ir, and untyped-plutus-core ASTs to use a single HasAnn typeclass, replacing the three ad-hoc functions termAnn, typeAnn, modifyTermAnn, and bindingAnn. Also fixes a SrcSpan regression in the parsers introduced by commit 99fa5e8 ("Todo The Parser") where inner Apply nodes in iterated applications shared the outermost bracket span instead of carrying their per-argument spans.

@zeme-wana zeme-wana marked this pull request as ready for review April 21, 2026 08:56
@zeme-wana zeme-wana requested a review from a team April 21, 2026 12:03
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