Skip to content

Typestate #393

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

Closed
wants to merge 18 commits into from
Closed

Typestate #393

wants to merge 18 commits into from

Conversation

catamorphism
Copy link
Contributor

Typestate now entirely uses walk instead of fold; other cleanup as well. With a bonus error message improvement to trans.

Started by rewriting collect_locals to use walk instead of fold
This required quite a bit of tiresome plumbing about of spans.
On the bright side, now other errors can be converted to span_err too.

Includes test cases.
Added visit_fn_pre and visit_fn_post fields that get applied to
both regular functions and methods.
and various other tidying in typestate
@graydon
Copy link
Contributor

graydon commented May 19, 2011

Awesome, thanks. Integrated.

@graydon graydon closed this May 19, 2011
calebzulawski added a commit to calebzulawski/rust that referenced this pull request Feb 17, 2024
celinval added a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
Add support to Ubuntu 18.04 (rust-lang#393)

Issue: Our python scripts use python 3.8+ while ubuntu 18.04 defaults
       to python 3.6.

Changes:
 * Change our scripts to use constructs available in older python versions.
 * Modify workflows file to add ubuntu-18.04.
 * Make ubuntu scripts generic.
 * Change copyright check script to ignore directories and symbolic links to directories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants