http://d.puremagic.com/issues/show_bug.cgi?id=6031

           Summary: Incorrect parsing of !in when dot operator involved
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-05-18 12:32:41 PDT ---
Using the !in operator doesn't work when the variable being tested is accessed
via the . operator.

struct Struct {
    string str;
}

void main() {
    string[string] aa;
    Struct s;
    if(s.str !in aa) {}
}

test.d(8): template argument expected following !

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to