[Issue 12211] Assignment expression is not an lvalue

2014-02-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12211 --- Comment #1 from Kenji Hara 2014-02-20 21:07:40 PST --- In C++: #include void foo(int& x) { printf("foo: x = %d\n", x); x = 3; } int main() { int a = 0; printf("a = %d\n", a); foo(a += 1); printf("a = %d\n", a);

[Issue 12211] Assignment expression is not an lvalue

2014-02-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12211 --- Comment #2 from Kenji Hara 2014-02-20 21:33:01 PST --- Note that, "an assignment expression should make an lvalue" will be consistent with the behavior of the implicitly generated opAssign methods for user defined structs. import core.st

[Issue 12211] Assignment expression is not an lvalue

2014-02-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12211 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #3 from Kenji Hara 20

[Issue 12211] Assignment expression is not an lvalue

2014-02-22 Thread d-bugmail
/34ce06a844fdb7e365469976ae010ee179c19e62 fix Issue 12211 - Assignment expression is not an lvalue https://github.com/D-Programming-Language/dmd/commit/7373fc1e4be70eb4003b3822cd1c39dcc7bb8223 Merge pull request #3306 from 9rnsr/fix12211 Issue 12211 - Assignment expression is not an lvalue -- Configure issuemail: https

[Issue 12211] Assignment expression is not an lvalue

2014-02-22 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12211 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 12211] Assignment expression is not an lvalue

2014-04-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12211 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2829415f71ab5d128980ac271fb0fe449f315983 Move test case for issue 1221