[Issue 6428] Inconsistent implement in std.array.replaceFirst
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 2 07:01:14 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6428
--- Comment #1 from Heromyth <bitworld at qq.com> 2011-08-02 07:01:13 PDT ---
I have a patch:
--- array.d Sun Jul 10 13:19:30 2011
+++ array-new.d Tue Aug 02 21:58:12 2011
@@ -1522,7 +1522,7 @@
auto app = appender!R1();
app.put(subject[0 .. subject.length - balance.length]);
app.put(to.save);
- subject = balance[from.length .. $];
+ app.put(balance[from.length .. $]);
return app.data;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list