June 06, 2011 [Issue 6112] New: Odd behavior of char comparison for ordering | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6112 Summary: Odd behavior of char comparison for ordering Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: andrei@metalanguage.com --- Comment #0 from Andrei Alexandrescu <andrei@metalanguage.com> 2011-06-05 22:04:22 PDT --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 06, 2011 [Issue 6112] Odd behavior of char comparison for ordering | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | http://d.puremagic.com/issues/show_bug.cgi?id=6112 --- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com> 2011-06-05 22:06:56 PDT --- void main() { assert(char.min < char.max); //pass auto a = char.min; auto b = char.max; assert(a < b); // fails } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation