http://d.puremagic.com/issues/show_bug.cgi?id=4911
bearophile_h...@eml.cc changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=4911
--- Comment #2 from bearophile_h...@eml.cc 2011-06-26 05:20:49 PDT ---
In DMD 2.053 this program:
import std.stdio: File;
void foo() {
auto f = File("test.raw", "r");
f.write("hello");
}
void bar() {
foo();
}
void main() {
bar()
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 gene