Changes in src/GenPoly/Specialize.cc [969ee0df:1744e6d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/Specialize.cc
r969ee0df r1744e6d 101 101 // conversion of 0 (null) to function type does not require tuple specialization 102 102 if ( dynamic_cast< ZeroType * >( actualType ) ) return false; 103 FunctionType * aftype = getFunctionType( actualType );104 assertf( aftype, "formal type is a function type, but actual type is not .");103 FunctionType * aftype = getFunctionType( actualType->stripReferences() ); 104 assertf( aftype, "formal type is a function type, but actual type is not: %s", toString( actualType ).c_str() ); 105 105 if ( fftype->get_parameters().size() != aftype->get_parameters().size() ) return true; 106 106 for ( auto params : group_iterate( fftype->get_parameters(), aftype->get_parameters() ) ) {
Note: See TracChangeset
for help on using the changeset viewer.