[Issue 15083] New: declaring a variable, cannot access frame pointer
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 18 04:09:31 PDT 2015
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: nobody at puremagic.com
Reporter: john.loughran.colvin at gmail.com
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
--
More information about the Digitalmars-d-bugs
mailing list