[phobos] [D-Programming-Language/phobos] 978250: Fix Issue 10717 - std.ascii.toLower and toUpper sh...

GitHub noreply at github.com
Sun Sep 22 12:43:54 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 978250b3aa23b87f08c37dccb7642f5c77c15561
      https://github.com/D-Programming-Language/phobos/commit/978250b3aa23b87f08c37dccb7642f5c77c15561
  Author: monarchdodra <monarchdodra at gmail.com>
  Date:   2013-09-21 (Sat, 21 Sep 2013)

  Changed paths:
    M std/ascii.d

  Log Message:
  -----------
  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.


  Commit: 287cd873a3c48577e37beb6c0e5842b8bac035f9
      https://github.com/D-Programming-Language/phobos/commit/287cd873a3c48577e37beb6c0e5842b8bac035f9
  Author: monarchdodra <monarchdodra at gmail.com>
  Date:   2013-09-22 (Sun, 22 Sep 2013)

  Changed paths:
    M std/ascii.d

  Log Message:
  -----------
  rework toUpper/toLower unittests


  Commit: f621b5692f575fc83ec588d10d93dbb222709663
      https://github.com/D-Programming-Language/phobos/commit/f621b5692f575fc83ec588d10d93dbb222709663
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2013-09-22 (Sun, 22 Sep 2013)

  Changed paths:
    M std/ascii.d

  Log Message:
  -----------
  Merge pull request #1581 from monarchdodra/asciiToUpper

Fix Issue 10717 - std.ascii.toLower and toUpper should return char inste...


Compare: https://github.com/D-Programming-Language/phobos/compare/9837043cfc75...f621b5692f57


More information about the phobos mailing list