Changeset 7faab5e


Ignore:
Timestamp:
Dec 11, 2017, 4:42:11 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
ebf0820
Parents:
6ba16fa
Message:

[fixes #71]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r6ba16fa r7faab5e  
    595595
    596596                ArgPack()
    597                         : parent(0), expr(), cost(Cost::zero), env(), need(), have(), openVars(), nextArg(0),
    598 
     597                        : parent(0), expr(), cost(Cost::zero), env(), need(), have(), openVars(), nextArg(0),
    599598                          tupleStart(0), nextExpl(0), explAlt(0) {}
    600599
     
    706705                                                Type* argType;
    707706
    708                                                 if ( nTuples > 0 ) {
    709                                                         // first iteration, push empty tuple expression
     707                                                if ( nTuples > 0 || ! results[i].expr ) {
     708                                                        // first iteration or no expression to clone,
     709                                                        // push empty tuple expression
    710710                                                        newResult.parent = i;
    711711                                                        std::list<Expression*> emptyList;
Note: See TracChangeset for help on using the changeset viewer.