Changeset ac57659


Ignore:
Timestamp:
Dec 4, 2017, 3:36:40 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
0a60c04
Parents:
6d2f993
Message:

Convert reference-typed with expressions to rvalue when building member expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.cc

    r6d2f993 rac57659  
    669669                if ( baseExpr ) {
    670670                        Expression * base = baseExpr->clone();
     671                        ResolvExpr::referenceToRvalueConversion( base );
    671672                        Expression * ret = new MemberExpr( id, base );
    672673                        // xxx - this introduces hidden environments, for now remove them.
Note: See TracChangeset for help on using the changeset viewer.