- File:
-
- 1 edited
-
src/ResolvExpr/SatisfyAssertions.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/SatisfyAssertions.cpp
rc6b4432 rda4a570 46 46 #include "SymTab/Mangler.h" 47 47 48 49 48 50 namespace ResolvExpr { 49 51 50 52 // in CandidateFinder.cpp; unique ID for assertion satisfaction 51 extern ast::UniqueId globalResnSlot;53 extern UniqueId globalResnSlot; 52 54 53 55 namespace { … … 296 298 if ( !expr->inferred.hasSlots() ) return expr; 297 299 // if ( expr->inferred.mode != ast::Expr::InferUnion::Slots ) return expr; 298 std::vector< ast::UniqueId> missingSlots;300 std::vector<UniqueId> missingSlots; 299 301 // find inferred parameters for resolution slots 300 302 ast::InferredParams * newInferred = new ast::InferredParams(); 301 for ( ast::UniqueId slot : expr->inferred.resnSlots() ) {303 for ( UniqueId slot : expr->inferred.resnSlots() ) { 302 304 // fail if no matching assertions found 303 305 auto it = inferred.find( slot );
Note:
See TracChangeset
for help on using the changeset viewer.