https://issues.dlang.org/show_bug.cgi?id=17265
Stefan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Stefan <[email protected]> --- 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 --
