[phobos] [D-Programming-Language/phobos] 93da97: typeof(null) is not any reference types in std.tra...

GitHub noreply at github.com
Mon May 28 11:16:09 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 93da97d5143579613d81f484ef290d08dd77bbe2
      https://github.com/D-Programming-Language/phobos/commit/93da97d5143579613d81f484ef290d08dd77bbe2
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-05-22 (Tue, 22 May 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  typeof(null) is not any reference types in std.traits module (string, array, associative array, pointer, class, and interface)


  Commit: f5ccd7fdab3272e892f4685bab9cbf9e81eda0bd
      https://github.com/D-Programming-Language/phobos/commit/f5ccd7fdab3272e892f4685bab9cbf9e81eda0bd
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-05-22 (Tue, 22 May 2012)

  Changed paths:
    M std/conv.d
    M std/format.d

  Log Message:
  -----------
  Retry to fix Issue 7348 - Format and unformat typeof(null) objects properly

We should represent null literal as "null" instead of "" in formatting, because unformatting requires one or more length string representation of the object.


  Commit: 95c49e3762f729fd256e14578f8bb6e2b171c965
      https://github.com/D-Programming-Language/phobos/commit/95c49e3762f729fd256e14578f8bb6e2b171c965
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-05-22 (Tue, 22 May 2012)

  Changed paths:
    M changelog.dd
    M std/stdio.d

  Log Message:
  -----------
  fix Issue 8040 - writeln(null) too


  Commit: 61947e5fef8d3858dfa9b926e23f9e27517a5ebd
      https://github.com/D-Programming-Language/phobos/commit/61947e5fef8d3858dfa9b926e23f9e27517a5ebd
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2012-05-28 (Mon, 28 May 2012)

  Changed paths:
    M changelog.dd
    M std/conv.d
    M std/format.d
    M std/stdio.d
    M std/traits.d

  Log Message:
  -----------
  Merge pull request #599 from 9rnsr/fix_nullfmt

Issue 7348 & 8040 - null literal should be formatted as "null"


Compare: https://github.com/D-Programming-Language/phobos/compare/a603f6e...61947e5


More information about the phobos mailing list