http://d.puremagic.com/issues/show_bug.cgi?id=4911



--- Comment #1 from bearophile_h...@eml.cc 2010-09-21 18:06:34 PDT ---
I think in Phobos there is not (yet) a function to find the line number and
module name of the precedent stack frame, of the caller, so probably the
"test.d(5)" can't be generated in the error message, andthe programmer has to
read the stack trace.

So a more realistic error message (plus stack trace) is:

fileioexcept...@...\dmd\src\phobos\std\stdio.d(508): attempt to write into
read-only file "test.raw".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to