[phobos] [D-Programming-Language/phobos] 87b393: Fixup `std.file.thisExePath`.

GitHub noreply at github.com
Thu Sep 26 12:39:09 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 87b393e702eeb31ef07c481ae50f2c1e4343c430
      https://github.com/D-Programming-Language/phobos/commit/87b393e702eeb31ef07c481ae50f2c1e4343c430
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2013-09-23 (Mon, 23 Sep 2013)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  Fixup `std.file.thisExePath`.

It's dangerous to add `assert(0)` at unreachable location because is will force the compiler to not show error if the location accidentally became reachable.


  Commit: 9a666ea32680d79ac173171396ed7b6ca2f8cd95
      https://github.com/D-Programming-Language/phobos/commit/9a666ea32680d79ac173171396ed7b6ca2f8cd95
  Author: monarch dodra <monarchdodra at gmail.com>
  Date:   2013-09-26 (Thu, 26 Sep 2013)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  Merge pull request #1596 from denis-sh/fixup-`std.file.thisExePath`

Fixup `std.file.thisExePath`.


Compare: https://github.com/D-Programming-Language/phobos/compare/cedee1617a82...9a666ea32680


More information about the phobos mailing list