sociomantic-tsunami / tangort

Tango D1 runtime library
Other
0 stars 9 forks source link

Print file and line of the exception causing FinalizeError #3

Closed nemanja-boric-sociomantic closed 7 years ago

nemanja-boric-sociomantic commented 7 years ago

If FinalizeError is being thrown, the exception causing this will be stored in the FinalizeError.next, and FinalizeError.toString will use super.next.toString to format the info, which will not include file and line for all exceptions defined in core.exception, so the file and line are now included in the printout.

nemanja-boric-sociomantic commented 7 years ago

Updated to import core.stdc.stdio