-
Notifications
You must be signed in to change notification settings - Fork 183
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 remaining vectors, boxes in chalk-ir into associated types on Interner
#369
Closed
3 of 5 tasks
Labels
current-sprint
Being worked on in the current sprint
Comments
This was referenced Mar 31, 2020
Merged
Will have a try this weekend. |
Edit: Seems #370 is in flight. |
@crlf0710 there are still other issues to claim -- e.g., |
Changed I'll have a try on |
Introduced |
Given the rest a try in #386 |
@rustbot claim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In general, we have been trying to remove hard-coded vectors and boxes from the chalk-ir APIs, and moving them instead to
Interner
associated types. See the chalk book for more background on theInterner
trait and its design.This issue tracks the removal of the final vectors etc:
Vec<ProgramClause<I>>
inEnvironment
-- introduceProgramClauses
-- done in Intern Vec<ProgramClause<I>> #370Vec<QuantifiedWhereClause<I>>
inDyTy
-- introduceQuantifiedWhereClauses
-- done in InternVec<QuantifiedWhereClause<I>>
. #379Vec<Parameter>
inFn
(this should be changed toSubstitution
) -- done in extend chalkTypeName
with builtin types #368Vec<ParameterKind<()>>
inBinders
,BindersIntoIterator
-- introduceParameterKinds
-- MigrateVec<ParameterKinds<()>>
andVec<ParameterKinds<UniverseIndex>>
to interned #386Vec<ParameterKind<Universe>>
inCanonical
-- hmm, this one requires a bit of thought, because I think we want to reconcile other bits of canonicalization -- MigrateVec<ParameterKinds<()>>
andVec<ParameterKinds<UniverseIndex>>
to interned #386Here are some example PRs showing how this removal can be done:
Vec<Parameter>
into theSubstitution<I>
typeVec<Goal<I>>
withGoals<I>
This issue has been assigned to @crlf0710 via this comment.
The text was updated successfully, but these errors were encountered: