[Issue 13542] std.file.FileException has GetLastError() as a default argument
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Sep 29 03:04:55 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13542
--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to Walter Bright from comment #2)
> wenforce is currently private
No.
> and throws an Exception,
No. It throws a WindowsException.
> which would break code that looks for FileException.
Per my comment in https://issues.dlang.org/show_bug.cgi?id=13541#c6 we should
introduce OSException make FileException an alias of OS
> While reengineering the interface has its place, this bug report is only
> about fixing the existing code and the way it works.
I suggest fixing the existing code without breaking it. Why do you think I
suggested otherwise?
--
More information about the Digitalmars-d-bugs
mailing list