https://issues.dlang.org/show_bug.cgi?id=15083
Marc Schütz <schue...@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schue...@gmx.net --- Comment #1 from Marc Schütz <schue...@gmx.net> --- (In reply to John Colvin from comment #0) > This uses phobos, but I'm pretty sure typeof should work here so it's a dmd > bug. typeof itself _does_ work, this compiles fine: pragma(msg, typeof(dirEntries(path, filetype, SpanMode.depth))); // prints: FilterResult!(f, DirIterator) But FilteResult is evidently a Voldemort type, and you can't declare a variable of this type. So I believe this is not a bug. --