Changes in src/ResolvExpr/Resolver.cc [b9f383f:6f326b1]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
rb9f383f r6f326b1 544 544 OpenVarSet openVars; 545 545 AssertionSet resultNeed, resultHave; 546 TypeEnvironment resultEnv; 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 ); 547 551 548 552 // Load type variables from arguemnts into one shared space … … 583 587 ss << "' to '"; 584 588 arg.expr->get_result()->print( ss ); 589 ss << "' with env '"; 590 resultEnv.print(ss); 585 591 ss << "'\n"; 586 592 SemanticError( function, ss.str() );
Note:
See TracChangeset
for help on using the changeset viewer.