Changeset 982f95d for src/ResolvExpr/AlternativeFinder.cc
- Timestamp:
- Jun 15, 2018, 5:09:29 PM (6 years ago)
- Branches:
- new-env
- Children:
- 97397a26
- Parents:
- 1d7b0a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r1d7b0a8 r982f95d 1109 1109 } 1110 1110 } else if ( TypeInstType *typeInst = dynamic_cast< TypeInstType* >( func->expr->get_result()->stripReferences() ) ) { // handle ftype (e.g. *? on function pointer) 1111 if ( const EqvClass *eqvClass = func->env.lookup( typeInst->get_name() ) ) {1112 if ( FunctionType *function = dynamic_cast< FunctionType* >( eqvClass ->type ) ) {1111 if ( ClassRef eqvClass = func->env.lookup( typeInst->get_name() ) ) { 1112 if ( FunctionType *function = dynamic_cast< FunctionType* >( eqvClass.get_bound().type ) ) { 1113 1113 Alternative newFunc( *func ); 1114 1114 referenceToRvalueConversion( newFunc.expr, newFunc.cost );
Note: See TracChangeset
for help on using the changeset viewer.