http://d.puremagic.com/issues/show_bug.cgi?id=4411
Summary: ranges + auto functions don't work Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: ellery-newco...@utulsa.edu --- Comment #0 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2010-07-01 09:04:01 PDT --- import std.range; import std.array; struct X{ string s; @property front(){ return s.front; } @property void popFront(){ s.popFront; } @property bool empty(){ return s.empty; } } static assert(isInputRange!(X)); fails, though I can't for the life of me figure out why dmd 2.047 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------