Thread overview
[Issue 7215] New: array.Appender.put should work on its own type
Jan 04, 2012
Andrej Mitrovic
Mar 19, 2012
Rob Jacques
Feb 10, 2013
Andrej Mitrovic
January 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7215

           Summary: array.Appender.put should work on its own type
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-01-03 20:59:53 PST ---
Created an attachment (id=1065)
newput

import std.array;

void main()
{
    Appender!(int[]) args1;
    Appender!(int[]) args2;

    args1.put([1]);    // ok
    args1.put(args2);  // ng
}

I've made some simple modifications to allow this, see attachment.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 19, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7215


Rob Jacques <sandford@jhu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandford@jhu.edu


--- Comment #1 from Rob Jacques <sandford@jhu.edu> 2012-03-19 14:02:08 PDT ---
https://github.com/D-Programming-Language/phobos/pull/502

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 10, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7215


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

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


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-02-10 08:59:48 PST ---
Pull in Comment #1 is closed, however this enhancement isn't worth it (there have been no other requests for this by other people), and we can use .data for this.

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