Ignore:
Timestamp:
May 18, 2018, 6:45:18 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, with_gc
Children:
ccdab45
Parents:
95642c9
git-author:
Rob Schluntz <rschlunt@…> (05/18/18 18:04:11)
git-committer:
Rob Schluntz <rschlunt@…> (05/18/18 18:45:18)
Message:

Strip redundant casts after every resolution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    r95642c9 rcdb990a  
    5050}
    5151
     52void Expression::spliceInferParams( Expression * other ) {
     53        if ( ! other ) return;
     54        for ( auto p : other->inferParams ) {
     55                inferParams[p.first] = std::move( p.second );
     56        }
     57}
     58
    5259Expression::~Expression() {
    5360        delete env;
Note: See TracChangeset for help on using the changeset viewer.