[Issue 5596] New: SortedRange regression
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 16 07:48:51 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5596
Summary: SortedRange regression
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-02-16 07:46:16 PST ---
The following code works on 2.051 but not 2.052 beta:
import std.range, std.algorithm, std.functional;
alias SortedRange!(string[], "a < b") Set;
Set readTfList(string setFile) {
string[] raw;
return pipe!(sort, uniq, array, assumeSorted)(raw);
}
--
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