Changeset 9c35431 for src/SynTree


Ignore:
Timestamp:
Nov 29, 2017, 2:00:32 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
c13e8dc8
Parents:
c6e2c18 (diff), 389528b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into cleanup-dtors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    rc6e2c18 r9c35431  
    356356        Type * res = member->get_type()->clone();
    357357        sub.apply( res );
    358         set_result( res );
    359         get_result()->set_lvalue( true );
     358        result = res;
     359        result->set_lvalue( true );
     360        result->get_qualifiers() |= aggregate->result->get_qualifiers();
    360361}
    361362
Note: See TracChangeset for help on using the changeset viewer.