Ignore:
Timestamp:
Aug 18, 2020, 4:26:19 PM (16 months ago)
Author:
Fangren Yu <f37yu@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
13d33a7
Parents:
4fe6224
Message:

fix lost typeinst in resolved assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/TypeSubstitution.hpp

    r4fe6224 ref9988b  
    195195        assert( input );
    196196        Pass<Substituter> sub( *this, true );
    197         input = strict_dynamic_cast< const SynTreeClass * >( input->accept( sub ) );
     197        input = strict_dynamic_cast< const SynTreeClass * >( deepCopy(input)->accept( sub ) );
    198198        return { input, sub.core.subCount };
    199199}
Note: See TracChangeset for help on using the changeset viewer.