Ignore:
Timestamp:
Jun 27, 2019, 5:16:54 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
7d0881c
Parents:
6be3b7d6
Message:

Somewhat deeper clone for types with forall qualifiers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    r6be3b7d6 re0e9a0b  
    548548                genStart = genEnd;
    549549
    550                 return genEnd != results.size();
     550                return genEnd != results.size();  // were any new results added?
    551551        }
    552552
     
    677677                        ast::TypeEnvironment funcEnv{ func->env };
    678678                        makeUnifiableVars( funcType, funcOpen, funcNeed );
    679                         // add all type variables as open variables now so that those not used in the parameter
    680                         // list are still considered open
     679                        // add all type variables as open variables now so that those not used in the
     680                        // parameter list are still considered open
    681681                        funcEnv.add( funcType->forall );
    682682
Note: See TracChangeset for help on using the changeset viewer.