Changeset 93c10de for src/AST/TypeSubstitution.cpp
- Timestamp:
- Nov 24, 2022, 11:01:37 AM (18 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 82a90d4
- Parents:
- 78de1e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.cpp
r78de1e5 r93c10de 52 52 } 53 53 54 void TypeSubstitution::add( const Type InstType::TypeEnvKey & key, const Type * actualType) {54 void TypeSubstitution::add( const TypeEnvKey & key, const Type * actualType) { 55 55 typeMap[ key ] = actualType; 56 56 } … … 64 64 65 65 const Type *TypeSubstitution::lookup( 66 const Type InstType::TypeEnvKey & formalType ) const {66 const TypeEnvKey & formalType ) const { 67 67 TypeMap::const_iterator i = typeMap.find( formalType ); 68 68 … … 85 85 86 86 const Type *TypeSubstitution::lookup( const TypeInstType * formalType ) const { 87 return lookup( ast::Type InstType::TypeEnvKey( *formalType ) );87 return lookup( ast::TypeEnvKey( *formalType ) ); 88 88 } 89 89
Note: See TracChangeset
for help on using the changeset viewer.