--- Comment #2 from 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");
void bar() {
void main() {

Gives the error message:

std.exception.ErrnoException@std\stdio.d(286): Cannot open file `test.raw' in
mode `r' (No such file or directory)
...\test.d(8): void
...\test.d(10): _Dmain

I think this is as good as it gets, unless a function to find the line number
and module name of the precedent stack frame is used at the exception point, so
I close this bug report.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to