-
Notifications
You must be signed in to change notification settings - Fork 182
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
Add TypeFlags for TyKind in chalk-ir #639
Conversation
bf7d38c
to
0f2cbba
Compare
☔ The latest upstream changes (presumably 80747d9) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
let data = TyData { | ||
kind: data.cast(interner), | ||
flags: compute_flags(&ty_kind, &interner), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is probably a large enough change to be in another PR, but I would expect the interner to compute the flags, so that in the case it is actually interning it only has to compute flags when it's allocating.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My comments can apply to the rest of the tests I didn't comment on
0f2cbba
to
31aaa6a
Compare
@matthewjasper can you take another look at this? I've rebased and updated per your review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with comment addressed
c2ebe27
to
a8b61ff
Compare
@bors r=matthewjasper |
📌 Commit a8b61ff has been approved by |
☀️ Test successful - checks-actions |
Closes #627