http://d.puremagic.com/issues/show_bug.cgi?id=8269
--- Comment #3 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-03-23 05:18:18 PDT --- (In reply to comment #0) > The spec at > > http://dlang.org/statement.html#WithStatement > > says: > > <quote> > The WithStatement > with (expression) > { > ... > ident; > } > is semantically equivalent to: > { > Object tmp; > tmp = expression; > ... > tmp.ident; > } > </quote> What it does end up doing is inject an initializer and a comma expression, and then takes the address of that. It's totally bizarre.. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------