[Issue 13542] std.file.FileException has GetLastError() as a default argument

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 29 02:54:17 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13542

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Vladimir Panteleev from comment #1)
> Per my comment in https://issues.dlang.org/show_bug.cgi?id=13541#c2 , we
> should look into replacing uses of FileException / GetLastError with
> wenforce.

wenforce is currently private and throws an Exception, which would break code
that looks for FileException.

While reengineering the interface has its place, this bug report is only about
fixing the existing code and the way it works.

--


More information about the Digitalmars-d-bugs mailing list