September 22, 2013 [Issue 10717] std.ascii.toLower and toUpper should return char instead of dchar and avoid me to use a bad cast(char) | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=10717 --- Comment #9 from github-bugzilla@puremagic.com 2013-09-22 12:43:57 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/978250b3aa23b87f08c37dccb7642f5c77c15561 Fix Issue 10717 - std.ascii.toLower and toUpper should return char instead of dchar and avoid me to use a bad cast(char) It turns out it was incorrectly working for enum types. New semantics are that enums are also accepted, and their OriginalType is returned. https://github.com/D-Programming-Language/phobos/commit/f621b5692f575fc83ec588d10d93dbb222709663 Merge pull request #1581 from monarchdodra/asciiToUpper Fix Issue 10717 - std.ascii.toLower and toUpper should return char inste... -- 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