[Issue 6685] Allow using "with" with rvalues

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 14 06:47:56 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=6685


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid
                 CC|                            |yebblies at gmail.com
         AssignedTo|nobody at puremagic.com        |yebblies at gmail.com
           Severity|enhancement                 |normal


--- Comment #2 from yebblies <yebblies at gmail.com> 2012-02-15 01:47:55 EST ---
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.

-- 
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