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

Non commutative addition when automatically dereferencing #22800

Closed
yann-ledu opened this issue Feb 25, 2015 · 2 comments
Closed

Non commutative addition when automatically dereferencing #22800

yann-ledu opened this issue Feb 25, 2015 · 2 comments

Comments

@yann-ledu
Copy link

let a=3;
let b=&a;
let c = b+0;
let c = 0+b; // fails
@TimNN
Copy link
Contributor

TimNN commented Feb 25, 2015

Probably the same problem as #22743

@steveklabnik
Copy link
Member

Yes, I believe this is a dup of that.

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

3 participants