Skip to content

Lambda fixups #572

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

Merged
merged 4 commits into from
Jun 25, 2011
Merged

Lambda fixups #572

merged 4 commits into from
Jun 25, 2011

Conversation

msullivan
Copy link
Contributor

Improve handling of anonymous function expressions.

This makes walk call visit_fn_{pre,post} on function expressions in addition to item functions (updating the interface so that they take an option::t[ident] for the function name (a lot of typestate code needed to be superficially altered)) and updates my earlier fix to type inference in lambdas to make use of this.
As a side effect, this fixes a bug where typestate would not properly be run on lambda functions.

…ut names. Update the typestate code to understand this.
As a side effect, this fixes a bug where typestate would not properly be checked
inside of fn expressions.
@brson brson merged commit 818d7c9 into rust-lang:master Jun 25, 2011
nikomatsakis added a commit to nikomatsakis/rust that referenced this pull request Feb 14, 2015
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
Add x86_64-linux-android support

When rust add support for x86_64-linux-android, the tests may be run with:
`rustup target add x86_64-linux-android && bash ci/run-docker.sh x86_64-linux-android`.

Android x86_64 emulator does not work without hardware acceleration, so we are not able to run tests on travis.
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
* Introduce dev command 'cheat sheets'

* edits in response to feedback
antoyo added a commit to antoyo/rust that referenced this pull request Jan 13, 2025
tgross35 pushed a commit to tgross35/rust that referenced this pull request Jun 3, 2025
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