Changeset 377

Show
Ignore:
Timestamp:
02/12/10 01:25:18 (2 years ago)
Author:
walter
Message:

bugzilla 3692 ICE(mtype.c) with associative arrays when std.variant is imported

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/mtype.c

    r368 r377  
    38663866        tiargs->push(next); 
    38673867 
    3868         // Create .AssociativeArray!(index, next) 
     3868        // Create .object.AssociativeArray!(index, next) 
     3869        Expression *e = new IdentifierExp(loc, Id::object); 
     3870        //e = new DotIdExp(loc, e, Id::object); 
    38693871        DotTemplateInstanceExp *dti = new DotTemplateInstanceExp(loc, 
    3870             new IdentifierExp(loc, Id::empty)
     3872            e
    38713873            Id::AssociativeArray, 
    38723874            tiargs);