[Issue 6685] Allow using "with" with rvalues
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 14 07:13:06 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6685
Michal Minich <michal.minich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michal.minich at gmail.com
--- Comment #3 from Michal Minich <michal.minich at gmail.com> 2012-02-14 07:13:05 PST ---
(In reply to comment #2)
> https://github.com/D-Programming-Language/dmd/pull/716
>
> This is arguably a bug, I can't find anywhere in the spec that says 'with' only
> works with lvalues or it must be implemented by taking the address of structs,
> just that exp must only be evaluated once.
This might be related http://d.puremagic.com/issues/show_bug.cgi?id=4350
Does the pull request affect this case?
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list