-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use Places to express closure captures #24
Conversation
@null-sleep The FIXME(azhng) probably should be replaced with something like: https://github.com/sexxi-goose/rust/blob/min_capture/compiler/rustc_typeck/src/check/upvar.rs#L750-L771 Though this should also account for Pattern expressions as we had discussed. |
I extracted the example programs we wrote for our 463 specification here: http://csclub.uwaterloo.ca/~a52arora/test_suite/spec/ The ones marked We also what to make sure that the cases mentioned in rust-lang/project-rfc-2229#9 (comment) are also added. |
@null-sleep I missed this change when I ported the change to the new compiler structure. |
a479185
to
18669ef
Compare
73e2d45
to
46a94d6
Compare
Co-authored-by: Archer Zhang <archer.xn@gmail.com>
Signed-off-by: Aman Arora <me@aman-arora.com>
86ce8d9
to
9a48595
Compare
Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com>
9a48595
to
08f33f2
Compare
Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com>
dafa9d1
to
fc836d0
Compare
This change is