This code:

auto dFiles = dirEntries("testimages/","*.png",SpanMode.shallow);
foreach(d; dFiles)
  writeln(d.name);

fails to generate a directory listing when I compile with -inline option to DMD v2.058. It works fine otherwise, both release and debug, with or without -O etc.

Is this a bug, or am I doing something dumb by using -inline?

Thanks,
cal

Reply via email to