digitalmars.D.bugs - [Issue 10607] New: DirEntry has no constructor
- d-bugmail puremagic.com (23/23) Jul 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10607
- d-bugmail puremagic.com (12/12) Jul 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10607
- d-bugmail puremagic.com (13/13) Jul 14 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10607
- d-bugmail puremagic.com (9/9) Jul 14 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10607
http://d.puremagic.com/issues/show_bug.cgi?id=10607
Summary: DirEntry has no constructor
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
Component: Phobos
AssignedTo: nobody puremagic.com
ReportedBy: monarchdodra gmail.com
A DirEntry can be constructed via "dirEntry(path)", however, "DirEntry(path)"
will NOT construc a DirEntry.
Also, it is possible to intiailize a DirEntry from another DirEntry:
DirEntry a;
DirEntry b = DirEntry(a);
This actually creates a non-initialized DirEntry, and the construct should not
be accepted anyways.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10607
monarchdodra gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|NEW |ASSIGNED
AssignedTo|nobody puremagic.com |monarchdodra gmail.com
https://github.com/D-Programming-Language/phobos/pull/1407
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 11 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10607 Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/c140217d25efa1168299d069abe2a9eda10eeabc Fix Issue 10607 - DirEntry has no constructor http://d.puremagic.com/issues/show_bug.cgi?id=10607 Fixes: auto a = DirEntry("path"); //Correctly works Simplified code a little bit (Axed _init) Improved FileException usage -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 14 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10607
monarchdodra gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 14 2013









d-bugmail puremagic.com 