Index: src/ResolvExpr/CurrentObject.cc
===================================================================
--- src/ResolvExpr/CurrentObject.cc	(revision 4ac402ddad18fa0baca5b47593a1b262b3702fa0)
+++ src/ResolvExpr/CurrentObject.cc	(revision 58c6432355a66c9e3871781c75e925d1d710b5e4)
@@ -1064,5 +1064,4 @@
 					} else if ( auto at = dynamic_cast< const ArrayType * >( t ) ) {
 						auto nexpr = dynamic_cast< const NameExpr *>( expr );
-						auto res = eval( nexpr ); 
 						for ( const Decl * mem : refType->lookup( nexpr->name ) ) {
 							if ( auto field = dynamic_cast< const ObjectDecl * >( mem ) ) {
@@ -1070,12 +1069,7 @@
 								d2.emplace_back( new VariableExpr{ expr->location, field } );
 								newDesigAlts.emplace_back( std::move( d2 ) );
-								// newTypes.emplace_back( field->type );
 								newTypes.emplace_back( at->base );
 							}
 						}
-
-						// d.emplace_back( expr );
-						// newDesigAlts.emplace_back( d );
-						// newTypes.emplace_back( at->base );
 					}
 
