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

Move type functions off Context #4951

Merged
merged 2 commits into from
Feb 14, 2025
Merged

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Feb 13, 2025

This creates a new check/type.h for most logic, and also moves some functions to TypeStore in sem_ir/type.h. My approach for TypeStore is to focus on moving the read-only functions there.

Comment on lines 20 to 21
// interface. For example, this is the type of `I.T` after `interface I { let
// T:! type; }`. The name of the interface is used for diagnostics.
Copy link
Contributor

Choose a reason for hiding this comment

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

Code awkwardly split across two lines

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@jonmeow jonmeow added this pull request to the merge queue Feb 13, 2025
@jonmeow jonmeow removed this pull request from the merge queue due to a manual request Feb 13, 2025
@jonmeow jonmeow enabled auto-merge February 13, 2025 22:03
@jonmeow jonmeow added this pull request to the merge queue Feb 13, 2025
Merged via the queue into carbon-language:trunk with commit dc8f47e Feb 14, 2025
8 checks passed
@jonmeow jonmeow deleted the move-types branch February 14, 2025 00:00
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