Changes in / [fdfced6:d5ccbe9]
- File:
-
- 1 edited
-
src/GenPoly/GenPoly.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/GenPoly/GenPoly.cc
rfdfced6 rd5ccbe9 100 100 if ( dynamic_cast< TypeInstType * >( type ) ) { 101 101 return type; 102 } else if ( ArrayType * arrayType = dynamic_cast< ArrayType * >( type ) ) {103 return isPolyType( arrayType->base, env );104 102 } else if ( StructInstType *structType = dynamic_cast< StructInstType* >( type ) ) { 105 103 if ( hasPolyParams( structType->get_parameters(), env ) ) return type; … … 117 115 return type; 118 116 } 119 } else if ( ArrayType * arrayType = dynamic_cast< ArrayType * >( type ) ) {120 return isPolyType( arrayType->base, tyVars, env );121 117 } else if ( StructInstType *structType = dynamic_cast< StructInstType* >( type ) ) { 122 118 if ( hasPolyParams( structType->get_parameters(), tyVars, env ) ) return type;
Note:
See TracChangeset
for help on using the changeset viewer.