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

Make empty ids for all block types #4502

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Nov 7, 2024

Adding empty IDs to all block types. This is primarily for TypeBlockId::Empty, which allows me to disambiguate empty tuple types, which I think might yield a SemIR readability improvement (PR forthcoming). I'm splitting PRs so that the limited test impact here is clear.

Copy link
Contributor

@dwblaikie dwblaikie left a comment

Choose a reason for hiding this comment

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

SGTM

@jonmeow jonmeow added this pull request to the merge queue Nov 7, 2024
Merged via the queue into carbon-language:trunk with commit cab7818 Nov 7, 2024
10 checks passed
@jonmeow jonmeow deleted the inst-namer branch November 7, 2024 23:07
github-merge-queue bot pushed a commit that referenced this pull request Nov 8, 2024
Building on #4502, give empty tuple values a distinct name, and also
explicitly name tuple types (previously values but not types were
named).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants