[Issue 15083] declaring a variable, cannot access frame pointer
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 18 06:11:09 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15083
Marc Schütz <schuetzm at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schuetzm at gmx.net
--- Comment #1 from Marc Schütz <schuetzm at 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.
--
More information about the Digitalmars-d-bugs
mailing list