Bug 6976 – GetLastError called as property

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-11-19T13:46:00Z
Last change time
2011-12-04T11:53:33Z
Keywords
patch
Assigned to
code
Creator
kyfolee

Comments

Comment #0 by kyfolee — 2011-11-19T13:46:15Z
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.
Comment #1 by code — 2011-12-01T15:10:16Z
Comment #2 by code — 2011-12-04T11:53:33Z