Skip to content

iss: Implement PC annotations [current], [next] and [next next]#951

Draft
BadGraphixD wants to merge 2 commits into
masterfrom
feature/pc-annotations
Draft

iss: Implement PC annotations [current], [next] and [next next]#951
BadGraphixD wants to merge 2 commits into
masterfrom
feature/pc-annotations

Conversation

@BadGraphixD
Copy link
Copy Markdown
Contributor

@BadGraphixD BadGraphixD commented May 11, 2026

  • Implemented [current], [next] and [next next] on pc and alias pc definitions
  • The pc subcalls (like .current) overrule the annotations

- Register aliases cannot point to pc aliases
- Added register suggestions to register alias diagnostics
- Added unit tests
@github-actions github-actions Bot added enhancement New feature or request frontend This is frontend related labels May 11, 2026
@BadGraphixD BadGraphixD requested a review from flofriday May 11, 2026 19:15
@BadGraphixD
Copy link
Copy Markdown
Contributor Author

@flofriday could you please review the first commit. Since I already merged #932, your requested changes from that review are here.

- Implemented `[current]`, `[next]` and `[next next]` on
  pc and alias pc definitions
- The pc subcalls (like `.current`) overrule the annotations
- Added tests
error("Unknown alias source register", targetIdent.location())
.locationDescription(targetIdent.location(), "Unknown register `%s`.",
targetIdent)
.suggestions(suggestions)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Awesome, thank you :)

@flofriday
Copy link
Copy Markdown
Contributor

@flofriday could you please review the first commit. Since I already merged #932, your requested changes from that review are here.

Honestly, that whole situation is on me, I've wrote that review before you merged but forgot to submit it on the previous PR 😅
But thanks anyway for incorporating it here, looks good :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend This is frontend related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants