Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r135b431 rbe9036d  
    502502}
    503503
    504 Type * Mutator::mutate( FunctionType *functionType ) {
     504Type * Mutator::mutate( ReferenceType * refType ) {
     505        mutateAll( refType->get_forall(), *this );
     506        refType->set_base( maybeMutate( refType->get_base(), *this ) );
     507        return refType;
     508}
     509
     510Type * Mutator::mutate( FunctionType * functionType ) {
    505511        mutateAll( functionType->get_forall(), *this );
    506512        mutateAll( functionType->get_returnVals(), *this );
     
    532538Type * Mutator::mutate( TraitInstType *aggregateUseType ) {
    533539        handleReferenceToType( aggregateUseType );
    534         mutateAll( aggregateUseType->get_members(), *this );
    535540        return aggregateUseType;
    536541}
Note: See TracChangeset for help on using the changeset viewer.