Changes in / [68ac32e:8ef9c5e7]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/InstantiateGeneric.cc

    r68ac32e r8ef9c5e7  
    237237                                        }
    238238                                        out.push_back( new TypeExpr( voidPtr ) );
     239                                        // this type is still dtype-static, no change to gt
    239240                                } else {
    240241                                        // Just clone parameter type
    241242                                        out.push_back( paramType->clone() );
     243                                        // make the struct concrete or dynamic depending on the parameter
     244                                        gt |= isPolyType( paramType->get_type() ) ? genericType::dynamic : genericType::concrete;
    242245                                }
    243                                 // make the struct concrete or dynamic depending on the parameter
    244                                 gt |= isPolyType( paramType->get_type() ) ? genericType::dynamic : genericType::concrete;
    245246                        } else switch ( (*baseParam)->get_kind() ) {
    246247                                case TypeDecl::Dtype:
Note: See TracChangeset for help on using the changeset viewer.