http://d.puremagic.com/issues/show_bug.cgi?id=11357
Summary: Weird behavior of appender with File as the element... do not know exactly where the bug resides. Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: maidenp...@hotmail.com --- Comment #0 from Phil Lavoie <maidenp...@hotmail.com> 2013-10-25 13:19:55 PDT --- So I just found some weird behavior while using std.array.Appender in conjunction with std.stdio.File. The attachment shows it best but, simply put: auto app = appender!( File[] )(); foreach( i = 0; i < dontMatter; ++i ) { app.put( stdout ); } Crashes. Of course, my real life needs did not include copying stdout, but rather filling an array with files using the appender. Phil -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------