Summary: ranges + auto functions don't work
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Ellery Newcomer <> 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(){
    @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:
------- You are receiving this mail because: -------

Reply via email to