[Issue 6976] New: GetLastError called as property

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 19 13:47:06 PST 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 at puremagic.com
        ReportedBy: kyfolee at gmail.com


--- Comment #0 from Kyle Foley <kyfolee at 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: -------


More information about the Digitalmars-d-bugs mailing list