Thread overview
[Issue 6976] New: GetLastError called as property
Nov 19, 2011
Kyle Foley
Dec 01, 2011
klickverbot
Dec 04, 2011
klickverbot
November 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6976

           Summary: GetLastError called as property
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: kyfolee@gmail.com


--- Comment #0 from Kyle Foley <kyfolee@gmail.com> 2011-11-19 16:46:15 EST ---
std.file:

FileException ctor calls GetLastError like a property as default argument. This does not compile with -property switch because GetLastError is not marked as property.

Also should consider using scope operator.

The Posix version has the same problem when calling getErrno.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 01, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6976


klickverbot <code@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #1 from klickverbot <code@klickverbot.at> 2011-12-01 15:10:16 PST ---
https://github.com/D-Programming-Language/phobos/pull/342

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 04, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6976


klickverbot <code@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from klickverbot <code@klickverbot.at> 2011-12-04 11:53:33 PST ---
https://github.com/D-Programming-Language/phobos/commit/e312f9898b4132db91fff743cee7d570a23ed55b

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------