Changeset 2dcd80a for src/AST/TypeSubstitution.cpp
- Timestamp:
- Dec 14, 2022, 12:23:42 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 441a6a7
- Parents:
- 7d9598d8 (diff), d8bdf13 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.cpp
r7d9598d8 r2dcd80a 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.