Changeset 215

Show
Ignore:
Timestamp:
10/14/09 23:22:34 (2 years ago)
Author:
walter
Message:

bugzilla 3397

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/dmd-1.x/src/declaration.c

    r202 r215  
    10351035        { 
    10361036            ei->exp = ei->exp->semantic(sc); 
     1037            ei->exp = resolveProperties(sc, ei->exp); 
    10371038            StructDeclaration *sd = ((TypeStruct *)t)->sym; 
    10381039#if DMDV2 
  • trunk/src/declaration.c

    r202 r215  
    10451045        { 
    10461046            ei->exp = ei->exp->semantic(sc); 
     1047            ei->exp = resolveProperties(sc, ei->exp); 
     1048            StructDeclaration *sd = ((TypeStruct *)t)->sym; 
    10471049#if DMDV2 
    10481050            /* Look to see if initializer is a call to the constructor 
    10491051             */ 
    1050             StructDeclaration *sd = ((TypeStruct *)t)->sym; 
    10511052            if (sd->ctor &&     // there are constructors 
    10521053            ei->exp->type->ty == Tstruct && // rvalue is the same struct