http://d.puremagic.com/issues/show_bug.cgi?id=5502
--- Comment #1 from [email protected] 2012-12-09 12:24:44 PST --- The first suggestion was implemented: https://github.com/D-Programming-Language/phobos/compare/467db2b45d92...c850e68b0379 This works: import std.stdio, std.array, std.algorithm; void main() { dchar[] s = "abaacaabbabaa"d.dup; s.sort(); uint[dchar] aa = ['a':8, 'b':4, 'c':1]; assert(group(s).assocArray() == aa); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
