Changes in src/AST/TypeSubstitution.hpp [172d9342:d8938622]
- File:
-
- 1 edited
-
src/AST/TypeSubstitution.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.hpp
r172d9342 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.