https://d.puremagic.com/issues/show_bug.cgi?id=12145
Summary: Custom error messages are no longer printed for
core.exceptions
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Sean Kelly <[email protected]> 2014-02-12 14:51:10 PST
---
Exceptions now use a toString(sink) method for formatting instead of the
toString() method inherited from Object. However, the exceptions defined in
core.exception (and possibly exceptions in Phobos as well) were not updated to
use this new method. Many of the exceptions have a toString() method for
custom output, and this is no longer working.
Please change all relevant exceptions to use toString(sink) instead of
toString(). Also, consider removing toString() from Throwable, since its
presence is misleading.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------