Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
March 17, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 --- Comment #1 from Stefan <kdevel@vogtner.de> --- Created attachment 1643 --> https://issues.dlang.org/attachment.cgi?id=1643&action=edit testcase -- |
June 15, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 greensunny12@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |greensunny12@gmail.com --- Comment #2 from greensunny12@gmail.com --- pull https://github.com/dlang/dlang.org/pull/1699 -- |
December 10, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 --- Comment #3 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/472ddd30a416c7263d3cdf45436e484c97a15573 Fix Issue 17265 - WithStatement: Use better Example https://github.com/dlang/dlang.org/commit/19db8d0730f4e17e3594500c3ee143769ffdc901 Merge pull request #1699 from wilzbach/fix-17265 Fix Issue 17265 - WithStatement: Find better Example for what with really does merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com> -- |
December 10, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
December 10, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 Stefan <kdevel@vogtner.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Stefan <kdevel@vogtner.de> --- The false assertion "with (expression) { ... ident; } is semantically equivalent to: { Object tmp; tmp = expression; ... tmp.ident; }" is still on <https://dlang.org/spec/statement.html#WithStatement>. Please compile and run the testcase withstatement2.d. If the assertion were true, the program would be expected to print before after before after But it really prints before after before before -- |
December 10, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 --- Comment #5 from Stefan <kdevel@vogtner.de> --- Proposal: "with (expression) { ... ident; } is semantically equivalent to: { auto ptr = &expression; ... ptr.ident; }" -- |
December 10, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 greenify <greeenify@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greeenify@gmail.com --- Comment #6 from greenify <greeenify@gmail.com> --- See the PR. This has been rejected. -- |
December 18, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 --- Comment #7 from github-bugzilla@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/472ddd30a416c7263d3cdf45436e484c97a15573 Fix Issue 17265 - WithStatement: Use better Example https://github.com/dlang/dlang.org/commit/19db8d0730f4e17e3594500c3ee143769ffdc901 Merge pull request #1699 from wilzbach/fix-17265 -- |
December 18, 2017 [Issue 17265] WithStatement: Find better Example for what "with" really does | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17265 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED -- |
Copyright © 1999-2021 by the D Language Foundation