Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r6f326b1 rb9f383f  
    544544                                                        OpenVarSet openVars;
    545545                                                        AssertionSet resultNeed, resultHave;
    546                                                         TypeEnvironment resultEnv( func.env );
    547                                                         makeUnifiableVars( function, openVars, resultNeed );
    548                                                         // add all type variables as open variables now so that those not used in the parameter
    549                                                         // list are still considered open.
    550                                                         resultEnv.add( function->forall );
     546                                                        TypeEnvironment resultEnv;
    551547
    552548                                                        // Load type variables from arguemnts into one shared space
     
    587583                                                                        ss << "' to '";
    588584                                                                        arg.expr->get_result()->print( ss );
    589                                                                         ss << "' with env '";
    590                                                                         resultEnv.print(ss);
    591585                                                                        ss << "'\n";
    592586                                                                        SemanticError( function, ss.str() );
Note: See TracChangeset for help on using the changeset viewer.