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

Mutable vars in rusti don't change after assignment #6772

Closed
dotdash opened this issue May 27, 2013 · 2 comments
Closed

Mutable vars in rusti don't change after assignment #6772

dotdash opened this issue May 27, 2013 · 2 comments

Comments

@dotdash
Copy link
Contributor

dotdash commented May 27, 2013

WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> let mut x = 8;
()
rusti> x   
8
rusti> x = 16
()
rusti> x
8
@alexcrichton
Copy link
Member

@bstrie pointed out some suspicious code in rusti which glossed over this, and #6685 should address this problem.

bors added a commit that referenced this issue Jun 13, 2013
More descriptive comments can be found throughout the code, but the bulk of this is that it addresses a vast number of issues with the old rusti model.

Closes #6772, #5675, #5469, and #6617
@alexcrichton
Copy link
Member

Closed by #7070

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

No branches or pull requests

2 participants