Changeset d8938622 for src/AST/TypeSubstitution.hpp
- Timestamp:
- May 22, 2019, 3:38:47 PM (4 years ago)
- Branches:
- arm-eh, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6380f78
- Parents:
- 37eef7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.hpp
r37eef7a rd8938622 25 25 #include "Fwd.hpp" // for UniqueId 26 26 #include "ParseNode.hpp" 27 #include "Type.hpp" // for ptr<Type>27 #include "Type.hpp" 28 28 #include "Common/SemanticError.h" // for SemanticError 29 29 #include "Visitor.hpp" … … 165 165 assert( input ); 166 166 Pass<Substituter> sub( *this, false ); 167 input = dynamic_cast< SynTreeClass * >( input->acceptMutator( sub ) ); 168 assert( input ); 167 input = strict_dynamic_cast< SynTreeClass * >( input->accept( sub ) ); 169 168 /// std::cerr << "substitution result is: "; 170 169 /// newType->print( std::cerr ); … … 177 176 assert( input ); 178 177 Pass<Substituter> sub( *this, true ); 179 input = dynamic_cast< SynTreeClass * >( input->acceptMutator( sub ) ); 180 assert( input ); 178 input = strict_dynamic_cast< SynTreeClass * >( input->accept( sub ) ); 181 179 /// std::cerr << "substitution result is: "; 182 180 /// newType->print( std::cerr );
Note: See TracChangeset
for help on using the changeset viewer.