http://d.puremagic.com/issues/show_bug.cgi?id=11057
Summary: [REG2.064dev] New std.uni has icmp() partly broken Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: regression Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: kekeni...@yahoo.co.jp --- Comment #0 from kekeni...@yahoo.co.jp 2013-09-17 10:09:50 PDT --- The code below fails in the last assertion since 2.064dev introduces new std.uni. The implementation of Ystd.uni.icmp() gets complicated. std.path.filenameCmp(aka. fcmp) doesn't use it and is simple. CODE: import std.string; // or std.uni void main(){ assert( icmp("A", "B") < 0 ); // OK assert( icmp("J", "K") < 0 ); // OK assert( icmp("L", "M") < 0 ); // OK assert( icmp("K", "L") < 0 ); // NG } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------