https://issues.dlang.org/show_bug.cgi?id=15083
Issue ID: 15083
Summary: declaring a variable, cannot access frame pointer
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
This uses phobos, but I'm pretty sure typeof should work here so it's a dmd
bug.
import std.file;
void file_test(string path, string filetype, string term){
typeof(dirEntries(path, filetype, SpanMode.depth)) files;
}
Error: cannot access frame pointer of std.file.dirEntries.FilterResult!(f,
DirIterator).FilterResult
--