May 18, 2017 [Issue 17406] int var = 10; write(--var,' ',var^^2); //output: 9 100 //NOT: 9 81 | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17406 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ag0aep6g@gmail.com Resolution|--- |DUPLICATE --- Comment #1 from ag0aep6g@gmail.com --- Works correctly with dmd from git master. Prints "9 81 81" and "10 100 100". The problem has been fixed in the PR that fixed issue 16408 [1]. So I'm closing this as a duplicate. Feel free to undo if you think something more needs to be done here. [1] https://github.com/dlang/dmd/pull/6705 *** This issue has been marked as a duplicate of issue 16408 *** -- |
Copyright © 1999-2021 by the D Language Foundation