Changeset 58c64323
- Timestamp:
- Oct 31, 2023, 11:07:19 AM (14 months ago)
- Branches:
- master
- Children:
- a137d5a
- Parents:
- 4ac402d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CurrentObject.cc
r4ac402d r58c64323 1064 1064 } else if ( auto at = dynamic_cast< const ArrayType * >( t ) ) { 1065 1065 auto nexpr = dynamic_cast< const NameExpr *>( expr ); 1066 auto res = eval( nexpr );1067 1066 for ( const Decl * mem : refType->lookup( nexpr->name ) ) { 1068 1067 if ( auto field = dynamic_cast< const ObjectDecl * >( mem ) ) { … … 1070 1069 d2.emplace_back( new VariableExpr{ expr->location, field } ); 1071 1070 newDesigAlts.emplace_back( std::move( d2 ) ); 1072 // newTypes.emplace_back( field->type );1073 1071 newTypes.emplace_back( at->base ); 1074 1072 } 1075 1073 } 1076 1077 // d.emplace_back( expr );1078 // newDesigAlts.emplace_back( d );1079 // newTypes.emplace_back( at->base );1080 1074 } 1081 1075
Note: See TracChangeset
for help on using the changeset viewer.