View mode: basic / threaded / horizontal-split · Log in · Help
September 07, 2008
[Issue 2345] New: Return by reference should be allowed
http://d.puremagic.com/issues/show_bug.cgi?id=2345

          Summary: Return by reference should be allowed
          Product: D
          Version: unspecified
         Platform: PC
       OS/Version: Linux
           Status: NEW
         Severity: normal
         Priority: P2
        Component: DMD
       AssignedTo: bugzilla@digitalmars.com
       ReportedBy: andrei@metalanguage.com


This is technically an enhancement but a showstopper in building ranges and
algorithm2.

ref int left(int[] r)
{
   return r[0];
}


--
October 21, 2008
[Issue 2345] Return by reference should be allowed
http://d.puremagic.com/issues/show_bug.cgi?id=2345


bugzilla@digitalmars.com changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|NEW                         |RESOLVED
        Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2008-10-20 22:21 -------
Fixed dmd 2.020


--
Top | Discussion index | About this forum | D home