- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/PtrsAssignable.cc
r3e5dd913 r7ff3e522 134 134 } 135 135 void postvisit( const ast::TypeInstType * inst ) { 136 if ( const ast::EqvClass * eqv = typeEnv.lookup( *inst) ) {136 if ( const ast::EqvClass * eqv = typeEnv.lookup( inst->name ) ) { 137 137 if ( eqv->bound ) { 138 138 // T * = S * for any S depends on the type bound to T … … 146 146 const ast::TypeEnvironment & env ) { 147 147 if ( const ast::TypeInstType * dstAsInst = dynamic_cast< const ast::TypeInstType * >( dst ) ) { 148 if ( const ast::EqvClass * eqv = env.lookup( *dstAsInst) ) {148 if ( const ast::EqvClass * eqv = env.lookup( dstAsInst->name ) ) { 149 149 return ptrsAssignable( src, eqv->bound, env ); 150 150 }
Note: See TracChangeset
for help on using the changeset viewer.