http://d.puremagic.com/issues/show_bug.cgi?id=8250
Vladimir Panteleev <thecybersha...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thecybersha...@gmail.com --- Comment #4 from Vladimir Panteleev <thecybersha...@gmail.com> 2012-12-21 21:43:20 PST --- Full test case: --- import std.file; void main() { mkdir("test8250"); scope(exit) rmdirRecurse("test8250"); write("test8250/a.txt", "test"); bool found; auto dFiles = dirEntries("test8250/", "*.txt", SpanMode.shallow); foreach (d; dFiles) if (d.name == "test8250/a.txt") found = true; assert(found, "Can't find a.txt"); } --- Succeeds with: dmd -run bug8250.d Fails with: dmd -inline -run bug8250.d Will attempt to reduce Phobos dependency and refile. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------