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

Remove ConstrainVarSubReg from inference and replace with a verify #29436

Closed
nikomatsakis opened this issue Oct 28, 2015 · 4 comments
Closed
Labels
E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

Comments

@nikomatsakis
Copy link
Contributor

Region inference needs some big-scale love, but even without that it has some deprecated bits. For example, the role of ConstrainVarSubReg has really been relegated to a verification step. We ought to remove it and just use VerifyRegSubReg. I started doing this, but it gets a bit complicated in dealing with the error reporting code (which itself needs to be reworked). So I decided to put it off for now and label it a FIXME.

@nikomatsakis nikomatsakis added the E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion. label Oct 28, 2015
@nikomatsakis
Copy link
Contributor Author

I'd be happy to mentor this work, though it's kind of in the guts of things.

nikomatsakis added a commit to nikomatsakis/rust that referenced this issue Oct 28, 2015
brson pushed a commit to brson/rust that referenced this issue Nov 4, 2015
@brson
Copy link
Contributor

brson commented Jul 19, 2016

Triage: ConstrainVarSubReg still exists. Help still wanted.

@jdhorwitz
Copy link
Contributor

@nikomatsakis If you are still wiling to mentor I would love to help with this. Thanks!

@nikomatsakis
Copy link
Contributor Author

Hmm @jdhorwitz at this point I'm not sure if this refactoring is worth it. We expect to replace a lot of this code anyway. I think I'm inclined to close this issue, but I have a list of mentoring tasks that I try to keep up to date. I have been planning (for some time, I confess) to go through and for each one write up directions for each one, but if anything catches your eye, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-mentor Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Projects
None yet
Development

No branches or pull requests

3 participants