March 05, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1893

           Summary: Allow delete to work on non-lvalues
           Product: D
           Version: 2.011
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: spec
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: brunodomedeiros+bugz@gmail.com


The following simplified use case fails:
  delete new Object();
because delete only works on lvalues (in order to set them to null). However,
delete'ing non-lvalues is a perfectly valid use case, and should be allowed as
well.


-- 

December 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=1893


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich@gmail.com
         Resolution|                            |WONTFIX


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-23 11:01:35 PST ---
I think it's far too late for this enhancement, delete will likely not be improved since it's scheduled for deprecation.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------