Bug 7215 – array.Appender.put should work on its own type

Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2012-01-03T20:59:00Z
Last change time
2013-02-10T08:59:48Z
Assigned to
nobody
Creator
andrej.mitrovich

Attachments

IDFilenameSummaryContent-TypeSize
1065newput.dnewputtext/x-dsrc2521

Comments

Comment #0 by andrej.mitrovich — 2012-01-03T20:59:53Z
Created attachment 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.
Comment #1 by sandford — 2012-03-19T14:02:08Z
Comment #2 by andrej.mitrovich — 2013-02-10T08:59:48Z
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.