Ok filed. I don't know whether it's a bug or not, I do think it's a
subtle issue worth investigating though.
On 2011-06-09 15:20, Andrej Mitrovic wrote:
> Here's a little buggy code which most often throws an exception:
>
> foreach (string entry; dirEntries(curdir, SpanMode.shallow))
> {
> if (entry.isdir)
> {
> foreach (string subentry; dirEntries(entry, SpanMode.shallow))
> {
> if (subentry.isdir)
> {
Here's a little buggy code which most often throws an exception:
foreach (string entry; dirEntries(curdir, SpanMode.shallow))
{
if (entry.isdir)
{
foreach (string subentry; dirEntries(entry, SpanMode.shallow))
{
if (subentry.isdir)