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

--- Comment #0 from David Simcha <> 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:
------- You are receiving this mail because: -------

Reply via email to