digitalmars.D.bugs - [Issue 11057] New: [REG2.064dev] New std.uni has icmp() partly broken
- d-bugmail puremagic.com (29/29) Sep 17 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11057
- d-bugmail puremagic.com (12/12) Sep 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11057
- d-bugmail puremagic.com (8/8) Sep 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11057
- d-bugmail puremagic.com (11/11) Sep 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11057
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: nobody puremagic.com
ReportedBy: kekeniro2 yahoo.co.jp
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: -------
Sep 17 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11057
Dmitry Olshansky <dmitry.olsh gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |pull
10:56:07 PDT ---
This is not wrong-code, that keyword is reserved for the compiler.
Pull:
https://github.com/D-Programming-Language/phobos/pull/1594
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 22 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11057 Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/9df179b65deb81021dd5cf18e83e05aec419dbac fix issue 11057 [REG2.064dev] New std.uni has icmp() partly broken -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 26 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11057
Dmitry Olshansky <dmitry.olsh gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
08:31:06 PDT ---
Fixed in git master.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 26 2013









d-bugmail puremagic.com 